Pass --disable-strategies compile to cargo-binstall and fallback to

cargo-install
This commit is contained in:
Taiki Endo
2026-04-13 17:24:14 +09:00
parent 921a4027af
commit acc1621b44
4 changed files with 65 additions and 9 deletions

View File

@@ -36,6 +36,7 @@ sccache
SHASUMS
shortstat
sigstore
startswith
syft
tombi
udeps

View File

@@ -181,9 +181,12 @@ jobs:
strategy:
fail-fast: false
matrix:
fallback:
- none
- cargo-install
include:
- fallback: none
- fallback: cargo-install
- fallback: cargo-binstall
- fallback: cargo-binstall
version: 0.3
runs-on: ubuntu-24.04-arm
timeout-minutes: 60
steps:
@@ -195,7 +198,7 @@ jobs:
id: install
continue-on-error: ${{ matrix.fallback == 'none' }}
with:
tool: parse-changelog@0.4.6
tool: parse-changelog@${{ matrix.version || '0.4.6' }}
fallback: ${{ matrix.fallback }}
- run: exit 1
if: matrix.fallback == 'none' && steps.install.outcome != 'failure'