From e68f8dd7698af24d47ba2da07bc4735f87c9633b Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Fri, 28 Oct 2022 16:45:30 -0700 Subject: [PATCH] Use stellar/binaries for binary installs (#747) ### What Use stellar/binaries for binary installs. ### Why To avoid rebuilding tools in CI jobs. --- .github/workflows/rust.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0831b4187..806b9b035 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -47,7 +47,10 @@ jobs: - run: rustup update - run: rustup target add ${{ matrix.sys.target }} - run: rustup target add wasm32-unknown-unknown - - run: cargo install --target-dir ~/.cargo/target --locked --version 0.5.16 cargo-hack + - uses: stellar/binaries@v12 + with: + name: cargo-hack + version: 0.5.16 - run: cargo hack build --target wasm32-unknown-unknown --profile release - run: cargo hack --feature-powerset --exclude-features docs build --target ${{ matrix.sys.target }} - run: cargo hack --feature-powerset --ignore-unknown-features --features testutils --exclude-features docs test --target ${{ matrix.sys.target }}