Skip to content

Commit

Permalink
try to fix lint issue (#339)
Browse files Browse the repository at this point in the history
* fix lint issue ref golangci/golangci-lint-action#902

Signed-off-by: Sam Yuan <[email protected]>

* fix up

Signed-off-by: Sam Yuan <[email protected]>

* fix up

Signed-off-by: Sam Yuan <[email protected]>

* fix up

Signed-off-by: Sam Yuan <[email protected]>

---------

Signed-off-by: Sam Yuan <[email protected]>
  • Loading branch information
SamYuan1990 authored Dec 21, 2023
1 parent dfd063a commit 8cc2ae6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go mod download
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.52.2
version: v1.55.2
skip-pkg-cache: true
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ linters:
disable-all: true
enable:
- bodyclose
- depguard
#- depguard
#- dupl
- errcheck
- goconst
#- goconst
#- gocritic
- gocyclo
- gofmt
Expand Down

0 comments on commit 8cc2ae6

Please sign in to comment.