github: Add cargo-audit cron job

This commit is contained in:
ClementTsang 2020-10-31 20:40:50 -04:00
parent 01a5e6b44e
commit d9472c6a42

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

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