Use `cargo fmt`'s --check

pull/4977/head
Blaž Hrastnik 2 years ago
parent 4960c41f18
commit 700f8ba252
No known key found for this signature in database
GPG Key ID: 1238B9C4AD889640

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

Loading…
Cancel
Save