Skip to content

Commit

Permalink
*: upgrade golangci-linter and add noloopclosure (#980)
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>

Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
  • Loading branch information
hawkingrei committed Oct 8, 2022
1 parent 17fedb8 commit 06d3cfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
${{ runner.OS }}-build-${{ env.cache-name }}-
${{ runner.OS }}-build-
${{ runner.OS }}-
- run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.46.2
- run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.50.0
- run: echo "${HOME}/.local/bin" >> $GITHUB_PATH
- name: Add license
run: |
Expand Down
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ linters:
- govet
- ineffassign
- misspell
- noloopclosure
- rowserrcheck
- sqlclosecheck
- staticcheck
Expand Down

0 comments on commit 06d3cfa

Please sign in to comment.