Skip to content

Commit

Permalink
CI: upgrade staticcheck to v2023.1.2 to make test pass, Add go1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
shvc authored and albertyw committed Mar 17, 2023
1 parent abb2d82 commit 77a1338
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.17.x", "1.18.x"]
go: ["1.17.x", "1.18.x", "1.19.x"]
include:
- go: 1.18.x
- go: 1.19.x
latest: true

steps:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $(GOLINT): tools/go.mod
cd tools && go install golang.org/x/lint/golint

$(STATICCHECK): tools/go.mod
cd tools && go install honnef.co/go/tools/cmd/staticcheck
cd tools && go install honnef.co/go/tools/cmd/staticcheck@2023.1.2

.PHONY: lint
lint: $(GOLINT) $(STATICCHECK)
Expand Down

0 comments on commit 77a1338

Please sign in to comment.