just: Use pinned nightly
Use the nightly version that we use in CI when running `just` commands that use the nightly toolchain.
This commit is contained in:
parent
69716f17b9
commit
288ed33afa
4
justfile
4
justfile
|
@ -11,11 +11,11 @@ check:
|
|||
|
||||
# Lint everything.
|
||||
lint:
|
||||
cargo +nightly clippy --workspace --all-targets --all-features -- --deny warnings
|
||||
cargo +$(cat .github/nightly-version) clippy --workspace --all-targets --all-features -- --deny warnings
|
||||
|
||||
# Check the formatting
|
||||
format:
|
||||
cargo +nightly fmt --all --check
|
||||
cargo +$(cat .github/nightly-version) fmt --all --check
|
||||
|
||||
# Quick and dirty CI useful for pre-push checks.
|
||||
sane: lint
|
||||
|
|
Loading…
Reference in New Issue