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 https://github.com/rust-lang/miri/issues/2223 is fixed
This commit is contained in:
François 2022-06-11 08:56:26 +00:00
parent 57b4620a7d
commit 728d9696d7

View File

@ -76,18 +76,20 @@ jobs:
timeout-minutes: 60 timeout-minutes: 60
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/cache@v3 # TODO: re-enable cache once nightly is unpinned
with: # - uses: actions/cache@v3
path: | # with:
~/.cargo/bin/ # path: |
~/.cargo/registry/index/ # ~/.cargo/bin/
~/.cargo/registry/cache/ # ~/.cargo/registry/index/
~/.cargo/git/db/ # ~/.cargo/registry/cache/
target/ # ~/.cargo/git/db/
key: ${{ runner.os }}-cargo-miri-${{ hashFiles('**/Cargo.toml') }} # target/
# key: ${{ runner.os }}-cargo-miri-${{ hashFiles('**/Cargo.toml') }}
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: nightly # TODO: check again with nightly once https://github.com/rust-lang/miri/issues/2223 is fixed
toolchain: nightly-2022-06-08
components: miri components: miri
override: true override: true
- name: Install alsa and udev - name: Install alsa and udev