diff options
author | Martin Nordholts <enselic@gmail.com> | 2023-05-14 16:50:15 +0200 |
---|---|---|
committer | Martin Nordholts <enselic@gmail.com> | 2023-05-24 05:43:36 +0200 |
commit | 7639e8b4067ea7f3f5603b353cb307b3708580c9 (patch) | |
tree | 05fa76345bbf8cd120b6550cea6b098eaedd69c5 /.github | |
parent | 149dec695376da3a74da10ee1201e1f50a245655 (diff) |
CICD.yml: Run cargo audit
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.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/CICD.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index d1e289c3..f43fd047 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -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 }} |