github.com/polygon-io/client-go@v1.16.4/.github/workflows/test.yml (about)

     1  name: test
     2  on:
     3    push:
     4      tags:
     5        - v*
     6      branches:
     7        - master
     8    pull_request:
     9  permissions:
    10    contents: read
    11  jobs:
    12    test:
    13      strategy:
    14        matrix:
    15          os: [ubuntu-latest, macos-latest, windows-latest]
    16          go-version: [1.18.x, 1.19.x, 1.20.x, 1.21.x]
    17      name: go-test
    18      runs-on: ${{ matrix.os }}
    19      steps:
    20        - uses: actions/setup-go@v4
    21          with:
    22            go-version: ${{ matrix.go-version }}
    23        - uses: actions/checkout@v4
    24        - name: go-test
    25          run: go test -race -v ./...