Add Windows CI build (#bd-178)

- Add windows-latest job to GitHub Actions
- Build bd.exe and run tests on Windows
- Catch cross-platform issues early
This commit is contained in:
Steve Yegge
2025-10-20 21:27:32 -07:00
parent a86f3e139e
commit 49275463d2

View File

@@ -44,6 +44,23 @@ jobs:
file: ./coverage.out
fail_ci_if_error: false
test-windows:
name: Test (Windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
- name: Build
run: go build -v ./cmd/bd
- name: Test
run: go test -v ./...
lint:
name: Lint
runs-on: ubuntu-latest