Add periodic GHA job to run cargo audit

This commit is contained in:
Henrik Tjäder 2021-03-03 15:15:15 +01:00
parent 89a5c8004e
commit 856d0ccb2f
2 changed files with 18 additions and 0 deletions

12
.github/workflows/audit.yaml vendored Normal file
View file

@ -0,0 +1,12 @@
name: Security audit
on:
schedule:
- cron: '0 0 * * *'
jobs:
audit:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

View file

@ -0,0 +1,6 @@
{
"name": "Audit",
"description": "Cargo audit",
"iconName": "rust",
"categories": ["Rust"]
}