mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-02 03:12:25 +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:
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 }}
|
||||
|
Reference in New Issue
Block a user