Skip to content

Commit

Permalink
Use cargo-nightly for fmt and clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
joncinque committed Nov 15, 2023
1 parent 12259b5 commit 54e5f3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
components: rustfmt

- name: Run fmt
run: cargo fmt --all -- --check
run: ./cargo-nightly fmt --all -- --check

clippy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
run: ./ci/install-build-deps.sh

- name: Run clippy
run: cargo clippy -Zunstable-options --workspace --all-targets --features test-sbf -- --deny=warnings --deny=clippy::arithmetic_side_effects
run: ./cargo-nightly clippy -Zunstable-options --workspace --all-targets --features test-sbf -- --deny=warnings --deny=clippy::arithmetic_side_effects

audit:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 54e5f3e

Please sign in to comment.