Skip to content

Commit 62adb7d

Browse files
committed
Unpin Rust nightly in CI
1 parent ba22ad2 commit 62adb7d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,19 +349,23 @@ jobs:
349349
runs-on: ubuntu-latest
350350
timeout-minutes: 30
351351
env:
352-
RUSTUP_TOOLCHAIN: nightly-2025-07-18 # TODO: Set to "nightly" once https://github.com/rust-lang/rust/issues/144168 is fixed
352+
NIGHTLY_CHANNEL: nightly
353353
steps:
354354
- uses: actions/checkout@v4
355+
355356
- uses: dtolnay/rust-toolchain@master
356357
with:
357-
toolchain: ${{ env.RUSTUP_TOOLCHAIN }}
358+
toolchain: ${{ env.NIGHTLY_CHANNEL }}
358359
components: miri
359360

360361
- uses: Swatinem/rust-cache@v2
362+
361363
- name: Run tests under miri
364+
run: cargo +${{ env.NIGHTLY_CHANNEL }} miri test -p rustpython-vm -- miri_test
365+
env:
362366
# miri-ignore-leaks because the type-object circular reference means that there will always be
363367
# a memory leak, at least until we have proper cyclic gc
364-
run: MIRIFLAGS='-Zmiri-ignore-leaks' cargo +${{ env.RUSTUP_TOOLCHAIN }} miri test -p rustpython-vm -- miri_test
368+
MIRIFLAGS: '-Zmiri-ignore-leaks'
365369

366370
wasm:
367371
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip:ci') }}

0 commit comments

Comments
 (0)