Security Audit #2090
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: | |
pull_request: | |
paths: | |
- "Cargo.lock" | |
- ".github/workflows/security-audit.yml" | |
push: | |
branches: master | |
paths: | |
- "Cargo.lock" | |
- ".github/workflows/security-audit.yml" | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
security_audit: | |
name: Security Audit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.cargo/bin | |
key: ${{ runner.os }}-cargo-audit-v0.15.2 | |
- uses: rustsec/audit-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |