diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfead14..bfa8401 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,7 @@ concurrency: cancel-in-progress: true env: + CARGO_INCREMENTAL: 0 RUSTFLAGS: -D warnings RUSTDOCFLAGS: -D warnings MINIMAL_RUST: 1.74.0 # Minimal Supported Rust Version @@ -73,6 +74,14 @@ jobs: - name: Check clippy lints run: cargo clippy --workspace --all-targets -- -D warnings + - name: Set up cargo-binstall + run: curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash + + - name: Look for unused dependencies with cargo-machete + run: | + cargo binstall -y cargo-machete + cargo machete + - name: Check semver # Not guaranteed to run on nightly, so we use the separate job below if: github.event_name != 'schedule'