From cf026fcf3e5514807ab0b45e212d9acc15d793cd Mon Sep 17 00:00:00 2001 From: Ammar Arif Date: Wed, 20 May 2026 10:47:50 -0700 Subject: [PATCH] fix(ci): install cargo-release with +stable toolchain The repo's rust-toolchain.toml pins 1.90.0, which overrides the workflow's stable setup during cargo install. cargo-release 1.1.2 requires rustc 1.91, so the install fails. Use +stable to compile the helper CLIs against the latest toolchain regardless of the repo override. Same fix applied to cargo-get to prevent future drift. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/release-dispatch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-dispatch.yml b/.github/workflows/release-dispatch.yml index 0502746c..8abf866b 100644 --- a/.github/workflows/release-dispatch.yml +++ b/.github/workflows/release-dispatch.yml @@ -26,12 +26,12 @@ jobs: - run: | VERSION=${{ inputs.version }} VERSION=${VERSION#v} - cargo install cargo-release --locked + cargo +stable install cargo-release --locked cargo release version $VERSION --execute --no-confirm && cargo release replace --execute --no-confirm - id: version_info run: | - cargo install cargo-get --locked + cargo +stable install cargo-get --locked echo "version=$(cargo get workspace.package.version)" >> $GITHUB_OUTPUT - uses: peter-evans/create-pull-request@v7