diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2a033a8197..2a9d4ab81a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -60,5 +60,5 @@ jobs: # here... But without that, the toolchain is just not there! # I will spend more time on debugging this once I can afford burning # more hours. - rustup toolchain install nightly --component clippy,rustfmt + rustup toolchain install nightly-2024-02-01 --component clippy,rustfmt ./scripts/lint.sh diff --git a/scripts/format.sh b/scripts/format.sh index 1134da760e..fb652ad3d4 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -5,5 +5,5 @@ set -e npx nx run-many --target=format --all npx nx run-many --target=lint:fix --all -cargo +nightly fmt --all -cargo clippy --exclude macro-circom --all -- -A clippy::result_large_err -D warnings \ No newline at end of file +cargo +nightly-2024-02-01 fmt --all +cargo clippy --exclude macro-circom --all -- -A clippy::result_large_err -D warnings diff --git a/scripts/install.sh b/scripts/install.sh index be3e999d92..c9ae053431 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -178,7 +178,7 @@ export PATH="${PREFIX}/cargo/bin:${PATH}" rustup component add clippy rustup component add rustfmt -rustup toolchain install nightly --component clippy,rustfmt +rustup toolchain install nightly-2024-02-01 --component clippy,rustfmt cargo install cargo-expand wasm-pack diff --git a/scripts/lint.sh b/scripts/lint.sh index 5b264c1c66..b366b4705f 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -4,7 +4,7 @@ set -e npx nx run-many --target=format:check --all npx nx run-many --target=lint --all -for rust_toolchain in stable nightly; do +for rust_toolchain in stable nightly-2024-02-01; do cargo +"$rust_toolchain" fmt --all -- --check cargo +"$rust_toolchain" clippy \ --workspace \