Skip to content

Commit

Permalink
Use latest version of cross from its git repo
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed May 18, 2024
1 parent 2dbfdb6 commit 39d7068
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,20 +113,22 @@ jobs:
- name: Cache cargo & target directories
uses: Swatinem/rust-cache@v2
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
uses: houseabsolute/actions-rust-cross@cross-git
with:
command: "build"
target: ${{ matrix.platform.target }}
toolchain: ${{ matrix.toolchain }}
args: "--locked --release"
strip: true
cross-version: 19be834
- name: Run tests
uses: houseabsolute/actions-rust-cross@v0
uses: houseabsolute/actions-rust-cross@cross-git
with:
command: "test"
target: ${{ matrix.platform.target }}
toolchain: ${{ matrix.toolchain }}
args: "--locked --release"
cross-version: 19be834
if: ${{ !matrix.platform.skip_tests }}
- name: Package as archive
shell: bash
Expand Down

0 comments on commit 39d7068

Please sign in to comment.