ci/github-actions: add audit

* For now auditing should be done daily and on each push to main.
* I have used rustsec's fork because it is more featureful and it has
  some fixes done. Hopefully it should just work.
main
Aydin Mercan 2022-09-03 22:38:39 +03:00
parent 92814fbaef
commit 997aa62588
Signed by: jaiden
SSH Key Fingerprint: SHA256:vy6hjzotbn/MWZAbjzURNk3NL62EPkjoHsJ5xr/s7nk
1 changed files with 17 additions and 0 deletions

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

@ -0,0 +1,17 @@
name: Audit for RUSTSEC advisories
on:
push:
branches: main
schedule:
- cron: '0 0 * * *'
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: action/checkout@v1
- uses: rustsec/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}