Skip to content

Commit 22af4fc

Browse files
committed
fix golint not updating
1 parent a7094e9 commit 22af4fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ MINIKUBE_RELEASES_URL=https://github.com/kubernetes/minikube/releases/download
7474

7575
# latest from https://github.com/golangci/golangci-lint/releases
7676
# update this only by running `make update-golint-version`
77-
GOLINT_VERSION ?= v2.1.6
77+
GOLINT_VERSION ?= v2.6.2
7878
# see https://golangci-lint.run/docs/configuration/file/ for config details
7979
GOLINT_CONFIG ?= .golangci.yaml
8080
# Set this to --verbose to see details about the linters and formatters used

hack/update/golint_version/golint_version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var (
3434
schema = map[string]update.Item{
3535
"Makefile": {
3636
Replace: map[string]string{
37-
`GOLINT_VERSION \?= v1.*`: `GOLINT_VERSION ?= {{.StableVersion}}`,
37+
`GOLINT_VERSION \?= v2.*`: `GOLINT_VERSION ?= {{.StableVersion}}`,
3838
},
3939
},
4040
}

0 commit comments

Comments
 (0)