Use cargo fmt's --check

This commit is contained in:
Blaž Hrastnik 2022-11-22 18:30:31 +09:00
parent 4960c41f18
commit 700f8ba252
No known key found for this signature in database
GPG Key ID: 1238B9C4AD889640

View File

@ -85,7 +85,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Run cargo fmt
run: cargo fmt --all -- --check
run: cargo fmt --all --check
- name: Run cargo clippy
run: cargo clippy --workspace --all-targets -- -D warnings