Added audit workflow to check for security vulnerabilities

This commit is contained in:
Xithrius 2022-08-31 16:20:00 -07:00
parent f07ffd3900
commit 7c1479d58b
No known key found for this signature in database
GPG Key ID: DADE524BA67AA52E

20
.github/workflows/audit.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: audit
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/install@master
with:
crate: cargo-audit
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}