Skip to content

Commit ab9b20d

Browse files
committed
Use Chocolatey to install just on Windows CI
Windows Server 2022 runners don't have winget by default, but Chocolatey is pre-installed and can install just. Signed-off-by: Drew Cain <groksrc@gmail.com>
1 parent 18db19a commit ab9b20d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
- name: Install just (Windows)
4545
if: runner.os == 'Windows'
4646
run: |
47-
# Install just using winget (Windows Package Manager)
48-
winget install --id Casey.Just --exact --silent
47+
# Install just using Chocolatey (pre-installed on GitHub Actions Windows runners)
48+
choco install just --yes
4949
shell: pwsh
5050

5151
- name: Create virtual env

0 commit comments

Comments
 (0)