File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ concurrency:
1919 cancel-in-progress : true
2020
2121env :
22+ CARGO_INCREMENTAL : 0
2223 RUSTFLAGS : -D warnings
2324 RUSTDOCFLAGS : -D warnings
2425 MINIMAL_RUST : 1.74.0 # Minimal Supported Rust Version
7374 - name : Check clippy lints
7475 run : cargo clippy --workspace --all-targets -- -D warnings
7576
77+ - name : Set up cargo-binstall
78+ run : curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
79+
80+ - name : Look for unused dependencies with cargo-machete
81+ run : |
82+ cargo binstall -y cargo-machete
83+ cargo machete
84+
7685 - name : Check semver
7786 # Not guaranteed to run on nightly, so we use the separate job below
7887 if : github.event_name != 'schedule'
You can’t perform that action at this time.
0 commit comments