github: Add cargo-audit cron job
This commit is contained in:
parent
01a5e6b44e
commit
d9472c6a42
|
@ -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 }}
|
Loading…
Reference in New Issue