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:
Tobin C. Harding 2024-04-03 09:12:25 +11:00
parent 69716f17b9
commit 288ed33afa
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 2 additions and 2 deletions

View File

@ -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