fix #370 #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Security audit | |
on: | |
push: | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
- '.github/workflows/audit.yml' | |
jobs: | |
cargo-audit: | |
name: Audit the baseline for CVEs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@v4 | |
- uses: cargo-bins/cargo-binstall@main | |
- name: Install cargo-audit | |
run: cargo binstall -y cargo-audit | |
- name: Audit | |
run: cargo audit |