Skip to content

Commit

Permalink
Merge pull request #127 from nvanbenschoten/nvanbenschoten/testGo20
Browse files Browse the repository at this point in the history
apd: add go 1.20 testing to CI
  • Loading branch information
otan authored May 15, 2023
2 parents 3bce48c + 03b6303 commit 0c42067
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- '1.17'
- '1.18'
- '1.19'
- '1.20'

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -61,8 +62,8 @@ jobs:
run: go vet -unsafeptr=false ./...

- name: 'Staticcheck'
# staticcheck requires go1.17.
if: ${{ matrix.arch == 'x64' && matrix.go >= '1.17' }}
# staticcheck requires go1.19.
if: ${{ matrix.arch == 'x64' && matrix.go >= '1.19' }}
run: |
go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck ./...
Expand Down

0 comments on commit 0c42067

Please sign in to comment.