diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5eac3b5d8..2a3841cfc 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,6 +11,9 @@ on: jobs: build: + strategy: + matrix: + go: [ 1.16, 1.17 ] name: build & test runs-on: ubuntu-latest services: @@ -42,7 +45,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: ${{ matrix.go }} - name: Build run: go build ./...