Skip to content

Windows: Build tests separately #252

Windows: Build tests separately

Windows: Build tests separately #252

Workflow file for this run

name: Windows CI
on:
push:
branches: [master]
pull_request:
jobs:
validate:
runs-on: windows-2022
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- run: go build
# Ref: https://github.com/golang/go/issues/15513#issuecomment-1883202920
- name: Build tests
run: go test -c -o /dev/null $(go list -f '{{if .TestGoFiles}}{{.ImportPath}}{{end}}' ./...)
- run: go test -timeout 30s ./...