Skip to content

Commit da55df6

Browse files
ci: Use cargo xtask fmt --check
1 parent a2e5b9c commit da55df6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,8 @@ jobs:
8888
- name: Checkout sources
8989
uses: actions/checkout@v4
9090
- uses: Swatinem/rust-cache@v2
91-
- name: Run cargo fmt
92-
run: |
93-
rustup component add rustfmt
94-
cargo fmt --all -- --check
91+
- name: Check formatting
92+
run: cargo xtask fmt --check
9593
- name: Run clippy
9694
run: |
9795
rustup component add clippy

0 commit comments

Comments
 (0)