diff --git a/.github/workflows/clippy_test.yml b/.github/workflows/clippy_test.yml index 31617818..1c2727d5 100644 --- a/.github/workflows/clippy_test.yml +++ b/.github/workflows/clippy_test.yml @@ -28,7 +28,7 @@ jobs: - uses: actions-rust-lang/setup-rust-toolchain@v1 with: # use toolchain version from rust-toolchain.toml - toolchain: nightly-2023-10-05 + toolchain: nightly components: rustfmt, clippy cache: true # avoid the default "-D warnings" which thrashes cache @@ -48,5 +48,5 @@ jobs: - name: Run fmt+clippy run: | - cargo +nightly-2023-10-05 fmt --all --check - cargo +nightly-2023-10-05 clippy --locked --workspace --all-targets -- -D warnings + cargo +nightly fmt --all --check + cargo +nightly clippy --locked --workspace --all-targets -- -D warnings diff --git a/run_clippy_fmt.sh b/run_clippy_fmt.sh index 4b1c613b..2a037cc3 100755 --- a/run_clippy_fmt.sh +++ b/run_clippy_fmt.sh @@ -1,2 +1,2 @@ -cargo +nightly-2023-10-05 fmt --all -cargo +nightly-2023-10-05 clippy --locked --workspace --all-targets -- -D warnings \ No newline at end of file +cargo +nightly fmt --all +cargo +nightly clippy --locked --workspace --all-targets -- -D warnings \ No newline at end of file