Skip to content

Commit 977ffb9

Browse files
authored
Merge pull request #32 from HadrienG2/disable-incremental-enable-machete
Disable incremental builds, enable cargo-machete
2 parents e047e7d + 017e7fc commit 977ffb9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ concurrency:
1919
cancel-in-progress: true
2020

2121
env:
22+
CARGO_INCREMENTAL: 0
2223
RUSTFLAGS: -D warnings
2324
RUSTDOCFLAGS: -D warnings
2425
MINIMAL_RUST: 1.74.0 # Minimal Supported Rust Version
@@ -73,6 +74,14 @@ jobs:
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'

0 commit comments

Comments
 (0)