Skip to content

Commit

Permalink
Use stellar/binaries for binary installs (#747)
Browse files Browse the repository at this point in the history
### What
Use stellar/binaries for binary installs.

### Why
To avoid rebuilding tools in CI jobs.
  • Loading branch information
leighmcculloch authored Oct 28, 2022
1 parent 52134b3 commit e68f8dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit e68f8dd

Please sign in to comment.