Add audit workflow for GitHub CI
This commit is contained in:
parent
5f9cf991a7
commit
34adeaa081
1 changed files with 16 additions and 0 deletions
16
.github/workflows/audit.yml
vendored
Normal file
16
.github/workflows/audit.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
name: Audit
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
dependencies:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: hecrj/setup-rust-action@v1
|
||||||
|
- name: Install cargo-audit
|
||||||
|
run: cargo install cargo-audit
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: Manually update `nix` crates # See https://github.com/nix-rust/nix/issues/1627
|
||||||
|
run: |
|
||||||
|
cargo update --package nix:0.20.0 --precise 0.20.2
|
||||||
|
cargo update --package nix:0.22.0 --precise 0.22.2
|
||||||
|
- name: Audit dependencies
|
||||||
|
run: cargo audit
|
||||||
Loading…
Add table
Add a link
Reference in a new issue