From 8f707ca9fd3f0f4c24d9b8f39ee8278f3520dcae Mon Sep 17 00:00:00 2001 From: tottoto Date: Fri, 5 Sep 2025 07:13:45 +0900 Subject: [PATCH] ci: Refactor dependencies-are-sorted job (#3445) --- .github/workflows/CI.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1a1a958a..f6379e6a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -229,19 +229,13 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v5 - - uses: dtolnay/rust-toolchain@beta - - uses: Swatinem/rust-cache@v2 - with: - save-if: ${{ github.ref == 'refs/heads/main' }} - name: Install cargo-sort - run: | - cargo install cargo-sort - # Work around cargo-sort not honoring workspace.exclude - - name: Remove non-crate folder - run: rm -rf examples/async-graphql + uses: taiki-e/install-action@v2 + with: + tool: cargo-sort@2.0.2 - name: Check dependency tables run: | - cargo sort --workspace --grouped --check + cargo-sort --workspace --grouped --check typos: name: Spell Check with Typos