Skip to content

Commit

Permalink
github: Update Go build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Feb 23, 2023
1 parent 3b1116b commit a6023d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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 ./...

0 comments on commit a6023d2

Please sign in to comment.