Skip to content

Commit 9030590

Browse files
mikolalysenkoclaude
andcommitted
fix: add explicit toolchain input for pinned rust-toolchain action
When dtolnay/rust-toolchain is pinned to a SHA instead of a branch name, the toolchain version can't be inferred from the ref and must be passed explicitly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 313ea79 commit 9030590

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- name: Install Rust
1919
uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9 # stable
2020
with:
21+
toolchain: stable
2122
components: clippy
2223

2324
- name: Cache cargo

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
- name: Install Rust
4343
uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9 # stable
4444
with:
45+
toolchain: stable
4546
targets: ${{ matrix.target }}
4647

4748
- name: Install cross

0 commit comments

Comments
 (0)