Skip to content

Commit 44df90f

Browse files
committed
github: bump golangci-lint to the latest version
(cherry picked from commit 3a9f05d)
1 parent 2c55e9d commit 44df90f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v1
1818

1919
- name: Install golangci-lint
20-
run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.46.2
20+
run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.2
2121

2222
- name: Gofmt
2323
run: make format

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ GO_TEST := $(GO_CMD) test $(GO_PARALLEL) -tags $(TEST_TAGS)
2121
GO_VET := $(GO_CMD) vet -tags $(TEST_TAGS)
2222

2323
# Disable some golangci_lint checkers for now until we have an more acceptable baseline...
24-
GO_CILINT_CHECKERS := -D unused,staticcheck,errcheck,deadcode,structcheck,gosimple -E golint,gofmt
24+
GO_CILINT_CHECKERS := -D unused,staticcheck,errcheck,deadcode,structcheck,gosimple -E revive,gofmt
2525
GO_CILINT_RUNFLAGS := --build-tags $(TEST_TAGS)
2626

2727
# Protoc compiler and protobuf definitions we might need to recompile.

0 commit comments

Comments
 (0)