mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-27 16:58:50 +01:00
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.
This commit is contained in:
parent
149dec6953
commit
7639e8b406
7
.github/workflows/CICD.yml
vendored
7
.github/workflows/CICD.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user