From a6023d20a1baa574245078a87c5258c7d66d4358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 23 Feb 2023 10:07:34 +0100 Subject: [PATCH] github: Update Go build matrix --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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