Skip to content

Commit

Permalink
ci: update go version to 1.21.3 (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
hedhyw authored Nov 7, 2023
1 parent c2dfbe0 commit 915a9e1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19.3'
go-version: '1.21.3'
id: go

- name: Check out code into the Go module directory
Expand Down
14 changes: 13 additions & 1 deletion .golangci.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,19 @@
"paralleltest",
"ireturn",
"gomnd",
"nolintlint"
"nolintlint",
"depguard",
"goconst",
"maligned",
"structcheck",
"varcheck",
"nosnakecase",
"interfacer",
"golint",
"scopelint",
"exhaustivestruct",
"ifshort",
"deadcode"
]
},
"linters-settings": {
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GOLANG_CI_LINT_VER:=v1.50.0
GOLANG_CI_LINT_VER:=v1.55.2
COVER_PACKAGES=${shell go list ./... | grep -Ev 'test|cmd' | tr '\n' ','}

all: lint test
Expand Down

0 comments on commit 915a9e1

Please sign in to comment.