diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index a25ad8df500..398f9502b2d 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -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 @@ -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