Use cargo install cross `--locked`

`cross` currently fails to install, this has been reported already

https://github.com/cross-rs/cross/issues/1177

The workaround is to use `cargo install --locked`.
This commit is contained in:
Tobin C. Harding 2022-12-28 11:26:05 +11:00
parent 615759a8c2
commit 0aef1576fa
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ jobs:
- name: Install target - name: Install target
run: rustup target add s390x-unknown-linux-gnu run: rustup target add s390x-unknown-linux-gnu
- name: install cross - name: install cross
run: cargo install cross run: cargo install cross --locked
- name: run cross test - name: run cross test
run: cross test --target s390x-unknown-linux-gnu run: cross test --target s390x-unknown-linux-gnu