Skip to content

Commit

Permalink
Disable incremental builds, enable cargo-machete
Browse files Browse the repository at this point in the history
  • Loading branch information
HadrienG2 committed Sep 3, 2024
1 parent e047e7d commit 017e7fc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 017e7fc

Please sign in to comment.