Skip to content

Commit

Permalink
bump golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zirain committed Jun 5, 2023
1 parent 23a71aa commit ad61e20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions common/config/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,11 @@ linters-settings:
# - unnamedResult
# - wrapperFunc
depguard:
packages-with-error-message:
- github.com/gogo/protobuf: "gogo/protobuf is deprecated, use golang/protobuf"
rules:
Main:
deny:
- pkg: github.com/gogo/protobuf
desc: "gogo/protobuf is deprecated, use golang/protobuf"
gosec:
includes:
- G401
Expand Down
2 changes: 1 addition & 1 deletion docker/build-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ENV GH_VERSION=2.29.0
ENV GOCOVMERGE_VERSION=b5bfa59ec0adc420475f97f89b58045c721d761c
ENV GOIMPORTS_VERSION=v0.9.1
# When updating the golangci version, you may want to update the common-files config/.golangci* files as well.
ENV GOLANGCI_LINT_VERSION=v1.52.2
ENV GOLANGCI_LINT_VERSION=v1.53.2
ENV GOLANG_GRPC_PROTOBUF_VERSION=v1.3.0
ENV GOLANG_PROTOBUF_VERSION=v1.30.0
ENV GO_BINDATA_VERSION=v3.1.2
Expand Down

0 comments on commit ad61e20

Please sign in to comment.