ci: update security audit

This commit is contained in:
DaniPopes 2023-02-24 22:43:04 +01:00
parent 5f32e983e9
commit 2187353407
No known key found for this signature in database
GPG Key ID: 0F09640DDB7AC692
1 changed files with 6 additions and 5 deletions

View File

@ -13,10 +13,11 @@ on:
- "**/Cargo.lock" - "**/Cargo.lock"
jobs: jobs:
security_audit: audit:
name: Security audit
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- uses: actions-rs/audit-check@v1 - uses: dtolnay/rust-toolchain@nightly
with: - run: cargo install --locked cargo-audit
token: ${{ secrets.GITHUB_TOKEN }} - run: cargo audit --deny warnings