.github/workflows/ci.yaml
raw| 1 | name: ci |
| 2 | |
| 3 | on: |
| 4 | pull_request: |
| 5 | branches: |
| 6 | - master |
| 7 | |
| 8 | jobs: |
| 9 | test: |
| 10 | strategy: |
| 11 | matrix: |
| 12 | go: [1.14.x, 1.15.x, 1.16.x] |
| 13 | os: [ubuntu-latest] |
| 14 | runs-on: ${{ matrix.os }} |
| 15 | steps: |
| 16 | - uses: actions/checkout@v2 |
| 17 | - uses: actions/setup-go@v2 |
| 18 | with: |
| 19 | go-version: ${{ matrix.go }} |
| 20 | - run: go test -race ./... |