Automatically check for cargo security issues

This commit is contained in:
Owen Quinlan 2024-07-03 15:47:13 +10:00 committed by GitHub
parent 18cba1fb39
commit ab6c2af41e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

14
.github/workflows/cargo-audit.yml vendored Normal file
View file

@ -0,0 +1,14 @@
name: Security audit
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: rustsec/audit-check@v1.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}