From 54e5f3ecc2c86db04b86cd0aedf72f528ef53f7d Mon Sep 17 00:00:00 2001 From: Jon C Date: Wed, 15 Nov 2023 13:47:40 +0100 Subject: [PATCH] Use cargo-nightly for fmt and clippy --- .github/workflows/pull-request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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