Security Audit #103
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
# Daily scan Rust dependencies for vulnerabilities | |
name: Security Audit | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
push: | |
paths: | |
- Cargo.toml | |
- Cargo.lock | |
- .github/workflows/audit.yml | |
jobs: | |
audit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Setup Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install cargo-audit | |
run: cargo install cargo-audit | |
- name: Scan for vulnerabilities | |
run: cargo audit --color always -D warnings |