Create audit.yml

This commit is contained in:
Alexis Mousset
2019-11-30 10:42:49 +00:00
committed by GitHub
parent bdd2076eec
commit 32e2a551b0

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

@@ -0,0 +1,14 @@
name: Security audit
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}