mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-28 13:30:39 +00:00
ci: Refactor dependencies-are-sorted job (#3445)
This commit is contained in:
parent
86868de80e
commit
8f707ca9fd
14
.github/workflows/CI.yml
vendored
14
.github/workflows/CI.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user