ci: add audit phase

This commit is contained in:
Dmitriy Pleshevskiy 2022-07-21 10:31:42 +03:00
parent efd3dd658c
commit d259252d97
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
1 changed files with 17 additions and 0 deletions

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

@ -0,0 +1,17 @@
# A routine check to see if there are any Rust-specific security vulnerabilities
# in the repo we should be aware of.
name: audit
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/audit-check@v1.2
with:
token: ${{ secrets.GITHUB_TOKEN }}