name: Test on: push: branches: - "*" pull_request: branches: - "*" jobs: test: strategy: matrix: platform: [ ubuntu-latest, windows-latest ] runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Set up Go uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 with: go-version: 1.25 - name: Build run: go build ./... - name: Set up gotestsum run: | go install gotest.tools/gotestsum@latest - name: Test run: | gotestsum --raw-command -- go test -json ./... --race - name: Validate Config run: go generate ./... && git diff --exit-code