Skip to content

CI: use rustsec/audit-check@v2 #3125

CI: use rustsec/audit-check@v2

CI: use rustsec/audit-check@v2 #3125

Workflow file for this run

name: Security Audit
on:
pull_request:
paths:
- .github/workflows/security-audit.yml
- Cargo.lock
push:
branches: master
paths: Cargo.lock
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@v4
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-cargo-audit-v0.20.1
- uses: rustsec/audit-check@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}