Skip to content

Commit 5fe6803

Browse files
authored
Get rid of deprecated audit-check action and use cargo deny action (#2616)
1 parent 8ba5f27 commit 5fe6803

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/ci.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -262,17 +262,18 @@ jobs:
262262
license-check-and-audit-check:
263263
name: License Check and Audit Check
264264
runs-on: ubuntu-latest
265+
strategy:
266+
matrix:
267+
checks:
268+
- advisories
269+
- bans licenses sources
270+
# Prevent sudden announcement of a new advisory from failing ci:
271+
continue-on-error: ${{ matrix.checks == 'advisories' }}
265272
steps:
266273
- uses: actions/checkout@v4
267-
- uses: ./.github/actions/cleanup
268-
- uses: rui314/setup-mold@v1
269-
- uses: ./.github/actions/setup-rust
270-
- uses: actions/checkout@v4
271-
- name: License Check
272-
run: cargo install --locked cargo-deny && cargo deny check
273-
- uses: rustsec/[email protected]
274+
- uses: EmbarkStudios/cargo-deny-action@v2
274275
with:
275-
token: ${{ secrets.GITHUB_TOKEN }}
276+
command: check ${{ matrix.checks }}
276277

277278
wasm-integration:
278279
name: "wasm-integration"

0 commit comments

Comments
 (0)