diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f9b115f33f..fd0a82649f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -192,23 +192,25 @@ jobs: # than allows is no problem either if it comes to that. continue-on-error: true - cargo-deny: + # This job is not required for PR auto-merge, so that sudden announcement of a + # new advisory does not keep otherwise OK pull requests from being integrated. + cargo-deny-advisories: runs-on: ubuntu-latest - strategy: - matrix: - checks: - - advisories - - bans licenses sources + steps: + - uses: actions/checkout@v4 + - uses: EmbarkStudios/cargo-deny-action@v2 + with: + command: check advisories - # Prevent sudden announcement of a new advisory from failing ci: - continue-on-error: ${{ matrix.checks == 'advisories' }} + cargo-deny: + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: EmbarkStudios/cargo-deny-action@v2 with: - command: check ${{ matrix.checks }} + command: check bans licenses sources wasm: name: WebAssembly @@ -300,6 +302,7 @@ jobs: # List all jobs that are intended NOT to block PR auto-merge here. EXPECTED_NONBLOCKING_JOBS: |- test-fixtures-windows + cargo-deny-advisories wasm tests-pass