ignore
1name: Test2
3on:4push:5branches:6- main7pull_request:8
9jobs:10test:11name: Test12runs-on: ${{ matrix.os }}13strategy:14fail-fast: false15matrix:16os: [ ubuntu-latest, macos-latest, windows-latest ]17
18env:19GOFLAGS: -mod=readonly20
21steps:22- uses: actions/checkout@v323
24- name: Set up Go25uses: actions/setup-go@v326with:27go-version: 1.21.128
29- name: Test30run: go test -race -v ./...31if: runner.os != 'Windows'32
33- name: Test (without race detector)34run: go test -v ./...35if: runner.os == 'Windows'36