name: Go
on: [push]
jobs:

  test:
    name: Test
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        # Allocation test fails on 1.15, but works on 1.16. Disabling 1.15 for
        # now.
        go_version: ["1.14", "1.16"]
        os: [ubuntu-latest, windows-latest, macOS-latest]
    
    steps:

    - name: Set up Go ${{ matrix.go_version }}
      uses: actions/setup-go@v1
      with:
        go-version: ${{ matrix.go_version }}
      id: go

    - name: Check out code into the Go module directory
      uses: actions/checkout@v2

    - name: Get dependencies
      run: |
        go get -v -t -d ./...

    - name: Test
      run: |
        go test

name: Go
on: [push]
jobs:

  test:
    name: Test
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        # Allocation test fails on 1.15, but works on 1.16. Disabling 1.15 for
        # now.
        go_version: ["1.14", "1.16", "1.17"]
        os: [ubuntu-latest, windows-latest, macOS-latest]
    
    steps:

    - name: Set up Go ${{ matrix.go_version }}
      uses: actions/setup-go@v1
      with:
        go-version: ${{ matrix.go_version }}
      id: go

    - name: Check out code into the Go module directory
      uses: actions/checkout@v2

    - name: Get dependencies
      run: |
        go get -v -t -d ./...

    - name: Test
      run: |
        go test

Add Go 1.17 to test workflow
Add Go 1.17 to test workflow
