Skip to content

Commit 4b8fbdd

Browse files
committed
fix(ci): pin build matrix toolchain to 1.95.0
The build job used dtolnay/rust-toolchain without a toolchain input, which installs 'stable' and adds the matrix target to it. But rust-toolchain.toml pins channel 1.95.0, so cargo activates 1.95.0 at build time without the cross-compilation target installed, producing 'error[E0463]: can't find crate for core' on x86_64-apple-darwin. fail-fast then cancelled the aarch64 and linux jobs, leaving the v1.1.0 release with zero binary assets and breaking install.sh (404). Pin the action to toolchain 1.95.0 explicitly and forward components clippy/rustfmt to match rust-toolchain.toml so the requested target is installed against the toolchain cargo will actually use. Fixes #20
1 parent 851380d commit 4b8fbdd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ jobs:
117117
- name: Install Rust toolchain
118118
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
119119
with:
120+
toolchain: "1.95.0"
121+
components: clippy, rustfmt
120122
targets: ${{ matrix.target }}
121123

122124
- name: Cache Rust dependencies

0 commit comments

Comments
 (0)