Skip to content

install: one-line installers, a windows CI leg, and docs to match #48

install: one-line installers, a windows CI leg, and docs to match

install: one-line installers, a windows CI leg, and docs to match #48

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go vet ./...
- run: go test ./...
- run: go build ./...
# The installers can't run in CI, but they can at least parse.
- if: runner.os == 'Linux'
run: sh -n install.sh
- if: runner.os == 'Windows'
shell: pwsh
run: |
$errs = $null
[void][System.Management.Automation.Language.Parser]::ParseFile("$PWD/install.ps1", [ref]$null, [ref]$errs)
if ($errs) { $errs; exit 1 }