Revert "temporarily remove cargo audit check"

This reverts commit 892efd0b13.
This commit is contained in:
Dustin J. Mitchell 2022-07-11 00:33:42 +00:00 committed by Tomas Babej
parent 35c8ce2ccb
commit 977ab11af2

20
.github/workflows/security.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: security
on:
schedule:
- cron: '0 0 * * *'
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
audit:
runs-on: ubuntu-latest
permissions: write-all
name: "Audit Dependencies"
steps:
- uses: actions/checkout@v2
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}