Skip to content

chore(deps): bump cda-tum/mqt-workflows from 1.4.5 to 1.4.6 in the github-actions group #81

chore(deps): bump cda-tum/mqt-workflows from 1.4.5 to 1.4.6 in the github-actions group

chore(deps): bump cda-tum/mqt-workflows from 1.4.5 to 1.4.6 in the github-actions group #81

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
change-detection:
name: 🔍 Change
uses: cda-tum/mqt-workflows/.github/workflows/[email protected]
cpp-tests:
name: 🇨‌ Test
needs: change-detection
if: fromJSON(needs.change-detection.outputs.run-cpp-tests)
uses: cda-tum/mqt-workflows/.github/workflows/[email protected]
permissions:
id-token: write # Explicitly allows the `id-token: write` permission for this job
with:
cmake-args: ""
cmake-args-ubuntu: -G Ninja
cmake-args-macos: -G Ninja -DMQT_CORE_WITH_GMP=ON
cmake-args-windows: -T ClangCL
cpp-linter:
name: 🇨‌ Lint
needs: change-detection
if: fromJSON(needs.change-detection.outputs.run-cpp-linter)
uses: cda-tum/mqt-workflows/.github/workflows/[email protected]
python-tests:
name: 🐍 Test
needs: change-detection
permissions:
id-token: write # Explicitly allows the `id-token: write` permission for this job
if: fromJSON(needs.change-detection.outputs.run-python-tests)
uses: cda-tum/mqt-workflows/.github/workflows/[email protected]
code-ql:
name: 📝 CodeQL
needs: change-detection
if: fromJSON(needs.change-detection.outputs.run-code-ql)
uses: cda-tum/mqt-workflows/.github/workflows/[email protected]
required-checks-pass: # This job does nothing and is only used for branch protection
name: 🚦 Check
if: always()
needs:
- change-detection
- cpp-tests
- cpp-linter
- python-tests
- code-ql
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:

Check failure on line 65 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. cda-tum/mqt-workflows/.github/workflows/[email protected] (Line: 65, Col: 3): Error calling workflow 'cda-tum/mqt-workflows/.github/workflows/reusable-cpp-coverage.yml@5949a52e23cbcd562e70592b95f158276b171792'. The nested job 'coverage' is requesting 'contents: read', but is only allowed 'contents: none'.
allowed-skips: >-
${{
fromJSON(needs.change-detection.outputs.run-cpp-tests)
&& '' || 'cpp-tests,'
}}
${{
fromJSON(needs.change-detection.outputs.run-cpp-linter)
&& '' || 'cpp-linter,'
}}
${{
fromJSON(needs.change-detection.outputs.run-python-tests)
&& '' || 'python-tests,'
}}
${{
fromJSON(needs.change-detection.outputs.run-code-ql)
&& '' || 'code-ql,'
}}
jobs: ${{ toJSON(needs) }}