Skip to content

Commit

Permalink
Use cargo-fmt's --check flag
Browse files Browse the repository at this point in the history
  • Loading branch information
laniakea64 committed Apr 4, 2024
1 parent 53459ce commit ed83334
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: cargo clippy --all-targets --all-features

- name: Check Formatting
run: cargo fmt --all -- --check
run: cargo fmt --all --check

- name: Test
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ build:
# for test runner development: strict production-level checks on test runner code
lint:
cargo clippy --all-targets --all-features -- -Dwarnings
cargo fmt --all -- --check
cargo fmt --all --check

# for test case development: verify that test case files are valid justfiles
check-cases:
Expand Down

0 comments on commit ed83334

Please sign in to comment.