From 347e718c466eac1ca25b8b51b0dd6916e6ab391a Mon Sep 17 00:00:00 2001 From: Rain Date: Wed, 11 Sep 2024 11:26:12 -0700 Subject: [PATCH] [meta] make CI work again --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d924ff361e2..b9b38e6420c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,8 +24,6 @@ jobs: run: cargo clippy --all-features --all-targets - name: Install cargo-hack uses: taiki-e/install-action@cargo-hack - - name: Clippy feature powerset for target-spec - run: cargo hack --feature-powerset --package target-spec clippy - name: Lint (rustfmt) run: cargo xfmt --check - name: Install cargo readme @@ -36,6 +34,10 @@ jobs: run: ./scripts/regenerate-readmes.sh - name: Check for differences run: git diff --exit-code + # cargo hack might cause changes to Cargo.lock which can cause the git diff above to fail. Put + # this at the end. + - name: Clippy feature powerset for target-spec + run: cargo hack --feature-powerset --package target-spec clippy build: name: Build and test core crates