ci: add audit workflow

This commit is contained in:
Dmitriy Pleshevskiy 2022-02-20 17:11:06 +03:00
parent bf77a7a71c
commit 07617e922e
1 changed files with 15 additions and 0 deletions

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

@ -0,0 +1,15 @@
# A routine check to see if there are any Rust-specific security vulnerabilities in the repo we should be aware of.
name: audit
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/audit-check@v1.2
with:
token: ${{ secrets.GITHUB_TOKEN }}