Skip to content

Commit 74ecaca

Browse files
committed
ci: temp. pin nightly to avoid ICE
There's an unfixed issue with nightly rust that produces an ICE building the project w/ nightly. Pin a working version until its fixed upstream.
1 parent 2560663 commit 74ecaca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ jobs:
155155
- name: Install Rust
156156
uses: dtolnay/rust-toolchain@master
157157
with:
158-
toolchain: ${{ matrix.toolchain }}
158+
# TODO(XXX): Revert to "matrix.toolchain" after rust-lang/rust#125474 is fixed.
159+
toolchain: ${{ matrix.toolchain == 'nightly' && 'nightly-2024-05-22' || matrix.toolchain }}
159160
- name: Run cargo check
160161
run: cargo check --all-targets
161162
- name: Run the tests

0 commit comments

Comments
 (0)