Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyangyu committed Nov 20, 2024
1 parent 59b9a10 commit 5701645
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
go-version-file: './go.mod'

- name: golangci-lint
uses: golangci/golangci-lint-action@v3.3.0
uses: golangci/golangci-lint-action@v6
with:
version: v1.56.2
version: v1.62.0

fmt:
name: fmt
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ linters:
- bodyclose
- durationcheck
- errcheck
- exportloopref
- goimports
- gosec
- gosimple
Expand All @@ -31,6 +30,7 @@ linters-settings:
confidence: "low"
excludes:
- G101
- G115
- G404
# exclude warnings of using crypto/sha1
- G505
Expand Down

0 comments on commit 5701645

Please sign in to comment.