Skip to content

Commit

Permalink
CICD.yml: Run cargo audit
Browse files Browse the repository at this point in the history
This CI check will fail if there are crates with known security vulnerabilities in Cargo.lock.

It will not fail because of warnings. We currently have two warnings.

Note that cargo-audit is installed by default on GitHub's Ubuntu
runners.
  • Loading branch information
Enselic committed May 24, 2023
1 parent 149dec6 commit 7639e8b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,13 @@ jobs:
- name: Show man page
run: man $(find . -name bat.1)

cargo-audit:
name: cargo audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo audit

build:
name: ${{ matrix.job.target }} (${{ matrix.job.os }})
runs-on: ${{ matrix.job.os }}
Expand Down

0 comments on commit 7639e8b

Please sign in to comment.