Skip to content

Commit

Permalink
apd: add go 1.20 testing to CI
Browse files Browse the repository at this point in the history
This commit adds a test variant for go 1.20.
  • Loading branch information
nvanbenschoten committed Mar 27, 2023
1 parent 3bce48c commit 03b6303
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 03b6303

Please sign in to comment.