Skip to content

Commit a8474f7

Browse files
authored
update Miri CI config (#1223)
1 parent 546acdc commit a8474f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ jobs:
150150
- uses: actions/checkout@v2
151151
- name: Install toolchain
152152
run: |
153-
MIRI_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri)
154-
rustup default "$MIRI_NIGHTLY"
155-
rustup component add miri
153+
rustup toolchain install nightly --component miri
154+
rustup override set nightly
155+
cargo miri setup
156156
- name: Test rand
157157
run: |
158158
cargo miri test --no-default-features --lib --tests

0 commit comments

Comments
 (0)