diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20081f2175..9c2cb9351d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -160,9 +160,12 @@ jobs: # Checks each crate individually to catch missing feature declarations that # are otherwise masked by Cargo's feature unification across the workspace. - check_standalone: + check-standalone: needs: lint runs-on: ubuntu-latest + env: + CARGO_INCREMENTAL: "0" + CARGO_PROFILE_DEV_DEBUG: "0" steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: @@ -189,7 +192,7 @@ jobs: run: | for pkg in $(cargo metadata --no-deps --format-version=1 | jq -r '.packages[].name'); do echo "Checking $pkg..." - cargo check -p "$pkg" --all-targets || exit 1 + cargo check --locked -p "$pkg" --all-targets || exit 1 done # The ubuntu build and tests share one runner so the dependency graph