Skip to content

Commit

Permalink
Use cargo fmt, rather than rustfmt
Browse files Browse the repository at this point in the history
This was causing #119 to falsely fail the PR tests
  • Loading branch information
kneasle authored Sep 29, 2021
1 parent 123a452 commit 93e1c46
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ jobs:
run: cargo test --verbose
- name: Run clippy
run: cargo clippy
- name: Run rustfmt
run: rustfmt src/**/*.rs --check
- name: Check formatting
run: cargo fmt -- --check
- name: Check docs
run: |
rustup update nightly
cargo +nightly doc --no-deps --document-private-items
run: cargo doc --no-deps --document-private-items

0 comments on commit 93e1c46

Please sign in to comment.