Skip to content

Commit

Permalink
ci: Switch to cargo deny for vulnerability scanning
Browse files Browse the repository at this point in the history
While both cargo audit and cargo deny can specify exceptions and ignore
rules, cargo deny has first class support for descriptions explaining
why a vulnerability can be ignored.

Since we're already using cargo deny, let's switch to it fully.
  • Loading branch information
poljar committed Sep 11, 2024
1 parent dcd6eed commit 691a7f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/audit.yml

This file was deleted.

11 changes: 6 additions & 5 deletions .github/workflows/deny.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Lint dependencies (for licences, allowed sources, banned dependencies)
name: Lint dependencies (for licences, allowed sources, banned dependencies, vulnerabilities)
on:
pull_request:
paths:
- '**/Cargo.toml'
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
cargo-deny:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check bans licenses sources

0 comments on commit 691a7f6

Please sign in to comment.