Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions scripts/format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
cargo +nightly-2024-02-01 fmt --all
cargo clippy --exclude macro-circom --all -- -A clippy::result_large_err -D warnings
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down