ci: pin nightly version

the past-future job fails with latest nightly toolchain:
1.80.0-nightly (da159eb33 2024-05-28)

this commit pins the nightly version to a known to work version

closes #2223
This commit is contained in:
Jorge Aparicio 2024-05-29 17:48:16 +02:00 committed by Dirkjan Ochtman
parent 107635c6c5
commit f1489da675
2 changed files with 5 additions and 3 deletions

View File

@ -117,7 +117,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["1.67.0", beta, nightly]
version: ["1.67.0", beta, "nightly-2024-05-23"]
steps:
- uses: actions/checkout@v4
@ -137,7 +137,7 @@ jobs:
run: just no-default-features
- name: just build-bench
if: matrix.version == 'nightly'
if: contains( matrix.version, 'nightly' )
run: just build-bench
## Execute the clippy checks

View File

@ -3,6 +3,8 @@ export TARGET_DIR := join(justfile_directory(), "target")
export TDNS_BIND_PATH := join(TARGET_DIR, "bind")
export TEST_DATA := join(join(justfile_directory(), "tests"), "test-data")
NIGHTLY_DATE := "2024-05-23"
## MSRV
MSRV := env_var_or_default('MSRV', "")
@ -71,7 +73,7 @@ compatibility: init-bind9
# Build all bench marking tools, i.e. check that they work, but don't run
build-bench:
cargo ws exec cargo +nightly bench --no-run
cargo ws exec cargo +nightly-{{NIGHTLY_DATE}} bench --no-run
[private]
clippy-inner feature='':