Skip to content

Commit 728d969

Browse files
committed
fix nightly for miri to 2022-06-08 to avoid timeouts (#4984)
# Objective - Fix timeout in miri ## Solution - Use a nightly version from before the issue happened: 2022-06-08 - To be checked after rust-lang/miri#2223 is fixed
1 parent 57b4620 commit 728d969

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,20 @@ jobs:
7676
timeout-minutes: 60
7777
steps:
7878
- uses: actions/checkout@v3
79-
- uses: actions/cache@v3
80-
with:
81-
path: |
82-
~/.cargo/bin/
83-
~/.cargo/registry/index/
84-
~/.cargo/registry/cache/
85-
~/.cargo/git/db/
86-
target/
87-
key: ${{ runner.os }}-cargo-miri-${{ hashFiles('**/Cargo.toml') }}
79+
# TODO: re-enable cache once nightly is unpinned
80+
# - uses: actions/cache@v3
81+
# with:
82+
# path: |
83+
# ~/.cargo/bin/
84+
# ~/.cargo/registry/index/
85+
# ~/.cargo/registry/cache/
86+
# ~/.cargo/git/db/
87+
# target/
88+
# key: ${{ runner.os }}-cargo-miri-${{ hashFiles('**/Cargo.toml') }}
8889
- uses: actions-rs/toolchain@v1
8990
with:
90-
toolchain: nightly
91+
# TODO: check again with nightly once https://github.com/rust-lang/miri/issues/2223 is fixed
92+
toolchain: nightly-2022-06-08
9193
components: miri
9294
override: true
9395
- name: Install alsa and udev

0 commit comments

Comments
 (0)