Skip to content

Commit 908688d

Browse files
committed
ci: restrict cargo-deny to licenses+bans, drop advisory check
The advisory DB now contains entries (e.g. RUSTSEC-2026-0076) using TOML syntax unsupported by the cargo-deny 0.14.x bundled in cargo-deny-action@v1, causing the 'Cargo Deny' check to fail with a parse error unrelated to our dependencies. The separate 'Cargo Security Audit' job (cargo-audit) already covers vulnerability advisories, so removing the redundant advisories check from cargo-deny unblocks CI without any loss of security coverage.
1 parent 1c0a346 commit 908688d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/security-audit.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ jobs:
5252
uses: actions/checkout@v4
5353

5454
- name: Check licenses and bans
55+
# Advisory DB check is handled by the separate cargo-audit job above.
56+
# Restricting to licenses + bans avoids breakage when the advisory DB
57+
# introduces new TOML features unsupported by this pinned cargo-deny
58+
# version (e.g. RUSTSEC-2026-0076 parse error with cargo-deny 0.14.x).
5559
uses: EmbarkStudios/cargo-deny-action@v1
5660
with:
57-
command: check advisories licenses bans
61+
command: check licenses bans

0 commit comments

Comments
 (0)