From 5b7c5559b1dc43e66484a20814f5fb66c4cf6bfe Mon Sep 17 00:00:00 2001 From: Preston Hager Date: Sat, 17 Jan 2026 21:41:06 -0700 Subject: [PATCH] Replace manual Scoop installation with setup-scoop action Use MinoruSekine/setup-scoop action instead of manual PowerShell commands for cleaner and more reliable Windows dependency setup. --- .github/workflows/python-app-build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-app-build.yml b/.github/workflows/python-app-build.yml index 36aea0c..2d8f802 100644 --- a/.github/workflows/python-app-build.yml +++ b/.github/workflows/python-app-build.yml @@ -71,13 +71,13 @@ jobs: run: | uv sync --extra dev - name: Install Windows dependencies - run: | - iwr -useb get.scoop.sh -outfile 'install.ps1' - .\install.ps1 -RunAsAdmin - scoop update - scoop bucket add extras - scoop install nsis - if: runner.os == 'Windows' + uses: MinoruSekine/setup-scoop@v4.0.2 + with: + install_scoop: true + buckets: extras + apps: makensis + scoop_update: true + update_path: true - name: Build executable run: | uv run python -m PyInstaller src/Wordweaver.spec