From edeb4bab35a28d91feb3d1ab2f9aa7583f1431f9 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Wed, 11 Nov 2026 09:09:22 -0800 Subject: [PATCH] ci: add the release target to the pinned Rust toolchain Co-Authored-By: Claude Opus 5.5 --- .github/workflows/release-binary.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml index 2c302f742a4..324bf42cfe3 100644 --- a/.github/workflows/release-binary.yml +++ b/.github/workflows/release-binary.yml @@ -53,10 +53,13 @@ jobs: - uses: ./.github/actions/just - - name: Install Rust - uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable - with: - targets: ${{ matrix.target }} + # Run from the checkout, so rustup installs the toolchain rust-toolchain.toml + # pins and adds the target to that one rather than to the image's stable. + - name: Add the Rust target + shell: bash + env: + TARGET: ${{ matrix.target }} + run: rustup target add "$TARGET" - name: Parse version id: parse