Move nightly_version file to crate root

The nightly pinning is used by a bunch of different tools outside of
github actions, move the config file to the crate root.

Update the path in the justfile.

Done in preparation for fixing the git pre-commit hook.
This commit is contained in:
Tobin C. Harding 2024-04-04 15:31:31 +11:00
parent b5fbdcd68a
commit 1a85eac01b
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Read nightly version - name: Read nightly version
id: read_toolchain id: read_toolchain
run: echo "nightly_version=$(cat .github/nightly-version)" >> $GITHUB_OUTPUT run: echo "nightly_version=$(cat nightly-version)" >> $GITHUB_OUTPUT
- name: Prepare tests - name: Prepare tests
id: get_matrix id: get_matrix
run: contrib/get_matrix.sh run: contrib/get_matrix.sh

View File

@ -11,11 +11,11 @@ check:
# Lint everything. # Lint everything.
lint: lint:
cargo +$(cat .github/nightly-version) clippy --workspace --all-targets --all-features -- --deny warnings cargo +$(cat ./nightly-version) clippy --workspace --all-targets --all-features -- --deny warnings
# Check the formatting # Check the formatting
format: format:
cargo +$(cat .github/nightly-version) fmt --all --check cargo +$(cat ./nightly-version) fmt --all --check
# Quick and dirty CI useful for pre-push checks. # Quick and dirty CI useful for pre-push checks.
sane: lint sane: lint