From 0aef1576fa3887fe7c37f7670e8d23cdee6b3209 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 28 Dec 2022 11:26:05 +1100 Subject: [PATCH] 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`. --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index eb1d178c..fea653b8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -85,7 +85,7 @@ jobs: - name: Install target run: rustup target add s390x-unknown-linux-gnu - name: install cross - run: cargo install cross + run: cargo install cross --locked - name: run cross test run: cross test --target s390x-unknown-linux-gnu