ci: Refactor dependencies-are-sorted job (#3445)

This commit is contained in:
tottoto 2025-09-05 07:13:45 +09:00 committed by GitHub
parent 86868de80e
commit 8f707ca9fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -229,19 +229,13 @@ jobs:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
steps: steps:
- uses: actions/checkout@v5 - 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 - name: Install cargo-sort
run: | uses: taiki-e/install-action@v2
cargo install cargo-sort with:
# Work around cargo-sort not honoring workspace.exclude tool: cargo-sort@2.0.2
- name: Remove non-crate folder
run: rm -rf examples/async-graphql
- name: Check dependency tables - name: Check dependency tables
run: | run: |
cargo sort --workspace --grouped --check cargo-sort --workspace --grouped --check
typos: typos:
name: Spell Check with Typos name: Spell Check with Typos