Create sec.yml

Check for vulnerabilities on dependencies
This commit is contained in:
Aitor Ruano 2020-01-24 10:46:27 +01:00 committed by GitHub
parent 8af129205c
commit b009792b7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

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

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