diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 607073b..136180a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,22 @@ jobs: with: go-version-file: go.mod - run: go test ./... - - run: go vet ./... - - run: go build -o gorse-cli . - - run: sh -n install.sh + install: + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest, windows-11-arm] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v5 + - name: Test shell installer + if: runner.os != 'Windows' + run: | + sh install.sh + gorse-cli --version + - name: Test PowerShell installer + if: runner.os == 'Windows' + shell: powershell + run: | + . ./install.ps1 + gorse-cli --version