@@ -226,31 +226,34 @@ jobs:
226226 - name : Run smoke test
227227 run : sh .github/scripts/smoke-test.sh "$(which celq)"
228228
229- test-cargo-binstall -windows-arm64 :
230- name : Test cargo-binstall on Windows ARM64
231- needs : test-cargo-binstall
229+ test-scoop-install -windows-arm64 :
230+ name : Test Scoop install on Windows ARM64
231+ needs : test-scoop-install
232232 runs-on : windows-11-vs2026-arm
233+ defaults :
234+ run :
235+ shell : bash
233236 steps :
234237 - uses : actions/checkout@v7
235238
236- - name : Install cargo-binstall
237- uses : cargo-bins/cargo-binstall@main
238- env :
239- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
239+ - name : Install Scoop
240+ shell : pwsh
241+ run : |
242+ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
243+ Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
244+ echo "$env:USERPROFILE\scoop\shims" >> $env:GITHUB_PATH
240245
241- - name : Install celq via cargo-binstall
246+ - name : Install celq via Scoop
242247 shell : pwsh
243- env :
244- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
245- run : cargo binstall celq -y
248+ run : |
249+ scoop bucket add get-celq https://github.com/get-celq/scoop-bucket
250+ scoop install get-celq/celq
246251
247252 - name : Print celq version
248- shell : pwsh
249- run : celq --version
253+ run : ~/scoop/shims/celq --version
250254
251255 - name : Run smoke test
252- shell : bash
253- run : sh .github/scripts/smoke-test.sh "$(which celq)"
256+ run : sh .github/scripts/smoke-test.sh ~/scoop/shims/celq
254257
255258 test-gha-install-action :
256259 name : Test taiki-e/install-action on ubuntu-slim
@@ -484,7 +487,7 @@ jobs:
484487 - test-brew-install
485488 - test-linuxbrew-install
486489 - test-cargo-binstall
487- - test-cargo-binstall -windows-arm64
490+ - test-scoop-install -windows-arm64
488491 - test-gha-install-action
489492 - test-scoop-install
490493 - test-choco-install
@@ -510,7 +513,7 @@ jobs:
510513 echo "- brew install: ${{ needs.test-brew-install.result }}"
511514 echo "- linuxbrew install: ${{ needs.test-linuxbrew-install.result }}"
512515 echo "- cargo-binstall: ${{ needs.test-cargo-binstall.result }}"
513- echo "- cargo-binstall (Windows ARM64): ${{ needs.test-cargo-binstall -windows-arm64.result }}"
516+ echo "- scoop install (Windows ARM64): ${{ needs.test-scoop-install -windows-arm64.result }}"
514517 echo "- GitHub Actions install action: ${{ needs.test-gha-install-action.result }}"
515518 echo "- scoop install: ${{ needs.test-scoop-install.result }}"
516519 echo "- chocolatey install: ${{ needs.test-choco-install.result }}"
@@ -531,7 +534,7 @@ jobs:
531534 [ "${{ needs.test-brew-install.result }}" != "success" ] || \
532535 [ "${{ needs.test-linuxbrew-install.result }}" != "success" ] || \
533536 [ "${{ needs.test-cargo-binstall.result }}" != "success" ] || \
534- [ "${{ needs.test-cargo-binstall -windows-arm64.result }}" != "success" ] || \
537+ [ "${{ needs.test-scoop-install -windows-arm64.result }}" != "success" ] || \
535538 [ "${{ needs.test-gha-install-action.result }}" != "success" ] || \
536539 [ "${{ needs.test-scoop-install.result }}" != "success" ] || \
537540 [ "${{ needs.test-choco-install.result }}" != "success" ] || \
0 commit comments