diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1f3b02d..011f9e5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: test: strategy: matrix: - go-version: [1.16.x,1.17.x,1.18.x] + go-version: [1.18.x,1.19.x,1.20.x] platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} steps: @@ -16,7 +16,7 @@ jobs: with: go-version: ${{ matrix.go-version }} - name: Install staticcheck - if: matrix.go-version != '1.16.x' + if: matrix.go-version == '1.20.x' run: go install honnef.co/go/tools/cmd/staticcheck@latest shell: bash - name: Update PATH @@ -31,7 +31,7 @@ jobs: - name: Vet run: go vet ./... - name: Staticcheck - if: matrix.go-version != '1.16.x' + if: matrix.go-version == '1.20.x' run: staticcheck ./... - name: Test run: go test -race ./... \ No newline at end of file