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

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 }}