name: All builds
on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        go_version: ["1.17.6", "1.16.5", "1.15.13"]
    steps:
      - uses: actions/checkout@v2
      - name: Setup Go
        uses: actions/setup-go@v3.1.0
        with:
          go-version: ${{ matrix.go_version }}
      - run: ./.ci.gogenerate.sh    
      - run: ./.ci.gofmt.sh
      - run: ./.ci.govet.sh
      - run: go test -v -race ./...

name: All builds
on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        go_version: ["1.17.8", "1.16.15", "1.15.15"]
    steps:
      - uses: actions/checkout@v2
      - name: Setup Go
        uses: actions/setup-go@v3.1.0
        with:
          go-version: ${{ matrix.go_version }}
      - run: ./.ci.gogenerate.sh    
      - run: ./.ci.gofmt.sh
      - run: ./.ci.govet.sh
      - run: go test -v -race ./...

Update go versions in build matrix
Update go versions in build matrix

These are the latest versions listed on https://go.dev/dl/