.github/workflows/test.yml
raw| 1 | name: Test |
| 2 | on: |
| 3 | push: |
| 4 | branches: |
| 5 | - master |
| 6 | pull_request: |
| 7 | jobs: |
| 8 | test: |
| 9 | strategy: |
| 10 | fail-fast: false |
| 11 | matrix: |
| 12 | go-version: [ 1.25.x, 1.26.x ] |
| 13 | os: [ ubuntu-latest, macos-latest, windows-latest, macos-latest ] |
| 14 | runs-on: ${{ matrix.os }} |
| 15 | steps: |
| 16 | - uses: actions/checkout@v7 |
| 17 | - uses: actions/setup-go@v6 |
| 18 | with: |
| 19 | go-version: ${{ matrix.go-version }} |
| 20 | |
| 21 | - run: go version |
| 22 | - run: go test -shuffle=on ./... |
| 23 | - run: go test -race -shuffle=on ./... |