Update pre-commit hook to use pinned nightly
Use the pinned nightly toolchain from `./nightly-version` when running git pre-commit hook.
This commit is contained in:
parent
1a85eac01b
commit
398fc6b73a
|
@ -46,4 +46,4 @@ fi
|
|||
git diff-index --check --cached $against -- || exit 1
|
||||
|
||||
# Check that code lints cleanly.
|
||||
cargo +nightly clippy --all-features -- -D warnings || exit 1
|
||||
cargo +$(cat ./nightly-version) clippy --workspace --all-targets --all-features -- --deny warnings || exit 1
|
||||
|
|
Loading…
Reference in New Issue