ci: add scheduled audit

This commit is contained in:
MedzikUser 2022-03-10 22:13:16 +01:00
parent 9f22754fc3
commit 2451f47fa8
No known key found for this signature in database
GPG Key ID: A5FAC1E185C112DB
1 changed files with 24 additions and 0 deletions

24
.github/workflows/audit-check.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Security audit
on:
push:
branches:
- main
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
schedule:
- cron: '0 0 * * *'
jobs:
audit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Audit check
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}