mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 12:11:59 +00:00
Check for unused deps in CI (#1262)
* Check for unused deps in CI * Bump slashing protection parking_lot version
This commit is contained in:
11
.github/workflows/test-suite.yml
vendored
11
.github/workflows/test-suite.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user