From 3e6e5428e98f1d37cc16d2130f4f0f2fefd48c42 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 19 Oct 2026 16:59:30 +0000 Subject: [PATCH] ci: give dtolnay/rust-toolchain a valid toolchain input dtolnay/rust-toolchain at @v1 (and at its master-branch commits) declares `toolchain` as required with no default; only the toolchain-named branches such as @stable supply one. Steps here either: - set no `toolchain:` at all, so the action fails with "'toolchain' is a required input"; - set an invalid value (v1, master, or a note), which rustup cannot install; or - carry a second `with:` key injected above the real one by an earlier bulk edit. A duplicate key makes GitHub reject the whole workflow file. Each affected step now has exactly one `with:` with a valid toolchain: an injected toolchain-only `with:` block is dropped, an invalid value becomes `stable`, and a step with none gets `toolchain: stable`. An existing valid value ('1.97.0', ${{ env.RUST_VERSION }}, stable) is kept as is. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_0132Cdz3iwk2QGKv2sUhhsye --- .github/workflows/cargo-audit.yml | 2 -- .github/workflows/chapel-ci.yml | 4 +++- .github/workflows/coverage.yml | 2 -- .github/workflows/e2e.yml | 8 +++++++- .github/workflows/release.yml | 2 -- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cargo-audit.yml b/.github/workflows/cargo-audit.yml index 97bb168..f6eb2a4 100644 --- a/.github/workflows/cargo-audit.yml +++ b/.github/workflows/cargo-audit.yml @@ -26,8 +26,6 @@ jobs: - name: Install Rust toolchain uses: dtolnay/rust-toolchain@v1 - with: - toolchain: v1 with: toolchain: stable diff --git a/.github/workflows/chapel-ci.yml b/.github/workflows/chapel-ci.yml index 534eed8..5d2fa6e 100644 --- a/.github/workflows/chapel-ci.yml +++ b/.github/workflows/chapel-ci.yml @@ -224,7 +224,7 @@ jobs: - uses: actions/checkout@v7.0.1 - uses: dtolnay/rust-toolchain@v1 with: - toolchain: v1 + toolchain: stable - uses: actions/cache@v6.1.0 with: path: | @@ -246,6 +246,8 @@ jobs: steps: - uses: actions/checkout@v7.0.1 - uses: dtolnay/rust-toolchain@v1 + with: + toolchain: stable - uses: actions/cache@v6.1.0 with: path: | diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index aefc6f3..93c65c5 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -24,8 +24,6 @@ jobs: - name: Install Rust toolchain uses: dtolnay/rust-toolchain@v1 - with: - toolchain: v1 with: toolchain: stable components: llvm-tools-preview diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 6dc65e4..7b699ac 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -45,7 +45,7 @@ jobs: - name: Install Rust toolchain uses: dtolnay/rust-toolchain@v1 with: - toolchain: v1 + toolchain: stable - name: Rust cache uses: Swatinem/rust-cache@v2.9.2 @@ -67,6 +67,8 @@ jobs: - name: Install Rust toolchain uses: dtolnay/rust-toolchain@v1 + with: + toolchain: stable - name: Rust cache uses: Swatinem/rust-cache@v2.9.2 @@ -131,6 +133,8 @@ jobs: - name: Install Rust toolchain uses: dtolnay/rust-toolchain@v1 + with: + toolchain: stable - name: Rust cache uses: Swatinem/rust-cache@v2.9.2 @@ -150,6 +154,8 @@ jobs: - name: Install Rust toolchain uses: dtolnay/rust-toolchain@v1 + with: + toolchain: stable - name: Rust cache uses: Swatinem/rust-cache@v2.9.2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0cbde44..9e0eb09 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,8 +31,6 @@ jobs: - name: Install Rust toolchain uses: dtolnay/rust-toolchain@v1 - with: - toolchain: v1 with: toolchain: stable