Skip to content

Commit 8e93942

Browse files
ParthJadhavclaude
andcommitted
Fix rust-toolchain action: add explicit toolchain: stable input
All jobs failed with "invalid toolchain name ''" because the dtolnay/rust-toolchain action requires an explicit toolchain parameter. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 97ad9e7 commit 8e93942

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- name: Setup Rust
3131
uses: dtolnay/rust-toolchain@888c2e1ea69ab0d4330cbf0af1ecc7b68f368cc1 # stable
3232
with:
33+
toolchain: stable
3334
components: clippy
3435

3536
- name: Rust cache
@@ -57,6 +58,8 @@ jobs:
5758

5859
- name: Setup Rust
5960
uses: dtolnay/rust-toolchain@888c2e1ea69ab0d4330cbf0af1ecc7b68f368cc1 # stable
61+
with:
62+
toolchain: stable
6063

6164
- name: Rust cache
6265
uses: swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
@@ -97,6 +100,8 @@ jobs:
97100

98101
- name: Setup Rust
99102
uses: dtolnay/rust-toolchain@888c2e1ea69ab0d4330cbf0af1ecc7b68f368cc1 # stable
103+
with:
104+
toolchain: stable
100105

101106
- name: Rust cache
102107
uses: swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232

3333
- name: Setup Rust
3434
uses: dtolnay/rust-toolchain@888c2e1ea69ab0d4330cbf0af1ecc7b68f368cc1 # stable
35+
with:
36+
toolchain: stable
3537

3638
- name: Bump version in package.json
3739
run: npm version ${{ inputs.version }} --no-git-tag-version
@@ -95,6 +97,7 @@ jobs:
9597
- name: Setup Rust
9698
uses: dtolnay/rust-toolchain@888c2e1ea69ab0d4330cbf0af1ecc7b68f368cc1 # stable
9799
with:
100+
toolchain: stable
98101
targets: ${{ matrix.platform == 'macos-arm' && 'aarch64-apple-darwin' || matrix.platform == 'macos-intel' && 'x86_64-apple-darwin' || '' }}
99102

100103
- name: Rust cache

0 commit comments

Comments
 (0)