add security CI

This commit is contained in:
Edward Shen 2021-07-09 20:02:22 -04:00
parent e65a7ba9ef
commit 5ab04a9e9c
Signed by: edward
GPG key ID: 19182661E818369F
2 changed files with 15 additions and 1 deletions

14
.github/workflows/security_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 }}

View file

@ -47,4 +47,4 @@ tokio-util = { version = "0.6", features = [ "codec" ] }
url = { version = "2", features = [ "serde" ] } url = { version = "2", features = [ "serde" ] }
[build-dependencies] [build-dependencies]
vergen = "5" vergen = "5"