Check for unused deps in CI (#1262)

* Check for unused deps in CI

* Bump slashing protection parking_lot version
This commit is contained in:
Michael Sproul
2020-06-14 10:59:50 +10:00
committed by GitHub
parent d15ec9b544
commit 7818447fd2
20 changed files with 18 additions and 79 deletions

View File

@@ -121,3 +121,14 @@ jobs:
- uses: actions/checkout@v1
- name: Run cargo audit to identify known security vulnerabilities reported to the RustSec Advisory Database
run: make audit
cargo-udeps:
runs-on: ubuntu-latest
needs: cargo-fmt
steps:
- uses: actions/checkout@v1
- name: Get latest version of nightly Rust
run: rustup update nightly
- name: Install cargo-udeps
run: cargo install cargo-udeps --locked
- name: Run cargo udeps to identify unused crates in the dependency graph
run: make udeps