From 49acf6eebf92d15822ef72ffeb29c872fb4803ce Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Tue, 3 Jan 2023 11:10:04 -0800 Subject: [PATCH 1/2] Set nightly as the default toolchain in CI So that random direct invocations of `rustc` or `cargo` in our CI scripts get the right version. --- .github/workflows/benchmarks.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 9c4ed377..3308d447 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -18,6 +18,7 @@ jobs: - name: Install nightly uses: actions-rs/toolchain@v1 with: + default: true toolchain: nightly - name: Rebuild benchmarks run: benchmarks/build-all.sh 5 @@ -29,6 +30,7 @@ jobs: - name: Install nightly uses: actions-rs/toolchain@v1 with: + default: true toolchain: nightly - name: Run benchmarks run: benchmarks/run-all.sh From e7411f1418cc6fbfcf59f237b45b0f79cb949e51 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Mon, 9 Jan 2023 08:34:43 -0800 Subject: [PATCH 2/2] CI: Print rustc version --- .github/workflows/benchmarks.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 3308d447..d4c5c55e 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -32,5 +32,7 @@ jobs: with: default: true toolchain: nightly + - name: Check rust version + run: rustc --version - name: Run benchmarks run: benchmarks/run-all.sh