Skip to content

Commit

Permalink
test(ci): use cargo binstall on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Nov 9, 2024
1 parent 5c6fbea commit 365dbb5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ jobs:
with:
targets: ${{ matrix.target2 }}
- name: Setup `cargo-binstall` and `taplo`
if: ${{ !contains(matrix.os, 'windows') }} #HACK: Work around https://github.com/cargo-bins/cargo-binstall/issues/1080.
uses: taiki-e/install-action@v2
with:
tool: taplo-cli
Expand All @@ -75,11 +74,13 @@ jobs:
run: |
cargo fmt --all --check
- name: Test installation via cargo-binstall (${{ matrix.os }} native)
if: ${{ github.event_name == 'pull_request' && !contains(matrix.os, 'windows') }} #HACK: Work around https://github.com/cargo-bins/cargo-binstall/issues/1080.
if: ${{ false }}
# if: ${{ github.event_name == 'pull_request' }}
run: |
cargo binstall pacaptr --manifest-path=./Cargo.toml --dry-run --strategies=crate-meta-data --log-level=debug
- name: Test installation via cargo-binstall (${{ matrix.target2 }})
if: ${{ github.event_name == 'pull_request' && !contains(matrix.os, 'windows') }} #HACK: Work around https://github.com/cargo-bins/cargo-binstall/issues/1080.
if: ${{ false }}
# if: ${{ github.event_name == 'pull_request' }}
run: |
cargo binstall pacaptr --manifest-path=./Cargo.toml --dry-run --strategies=crate-meta-data --log-level=debug --targets=${{ matrix.target2 }}
- name: Build
Expand Down

0 comments on commit 365dbb5

Please sign in to comment.