add security CI
This commit is contained in:
parent
e65a7ba9ef
commit
5ab04a9e9c
2 changed files with 15 additions and 1 deletions
14
.github/workflows/security_audit.yml
vendored
Normal file
14
.github/workflows/security_audit.yml
vendored
Normal 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 }}
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue