Skip to content

Commit

Permalink
golangci-lint upgrade to v1.61.0
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimanyu003 committed Feb 4, 2025
1 parent f7ea1be commit 885cad9
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,28 @@ jobs:
- name: lint-operator
uses: golangci/golangci-lint-action@v3
with:
version: v1.57.2
version: v1.61.0
working-directory: operator
skip-cache: true
args: --timeout 10m --verbose
- name: lint-scheduler
uses: golangci/golangci-lint-action@v3
with:
version: v1.57.2
version: v1.61.0
working-directory: scheduler
skip-cache: true
args: --timeout 10m --verbose
- name: lint-hodometer
uses: golangci/golangci-lint-action@v3
with:
version: v1.57.2
version: v1.61.0
working-directory: hodometer
skip-cache: true
args: --timeout 10m --verbose
- name: lint-tls
uses: golangci/golangci-lint-action@v3
with:
version: v1.57.2
version: v1.61.0
working-directory: components/tls
skip-cache: true
args: --timeout 10m --verbose
Expand Down
2 changes: 1 addition & 1 deletion components/kafka/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GO_LDFLAGS := -w $(patsubst %,-X %, $(GO_BUILD_VARS))
test:
go test ./pkg/... -coverprofile cover.out

.GOLANGCILINT_VERSION := v1.57.2
.GOLANGCILINT_VERSION := v1.61.0
.GOLANGCILINT_PATH := $(shell go env GOPATH)/bin/golangci-lint/$(.GOLANGCILINT_VERSION)

${.GOLANGCILINT_PATH}/golangci-lint:
Expand Down
2 changes: 1 addition & 1 deletion components/tls/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GO_LDFLAGS := -w $(patsubst %,-X %, $(GO_BUILD_VARS))
test:
go test ./pkg/... -coverprofile cover.out

.GOLANGCILINT_VERSION := v1.57.2
.GOLANGCILINT_VERSION := v1.61.0
.GOLANGCILINT_PATH := $(shell go env GOPATH)/bin/golangci-lint/$(.GOLANGCILINT_VERSION)

${.GOLANGCILINT_PATH}/golangci-lint:
Expand Down
2 changes: 1 addition & 1 deletion hodometer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RELEASE_TYPE ?= pre-release

################################################################################

.GOLANGCILINT_VERSION := v1.57.2
.GOLANGCILINT_VERSION := v1.61.0
.GOLANGCILINT_PATH := $(shell go env GOPATH)/bin/golangci-lint/$(.GOLANGCILINT_VERSION)

${.GOLANGCILINT_PATH}/golangci-lint:
Expand Down
2 changes: 1 addition & 1 deletion operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fmt: ## Run go fmt against code.
vet: ## Run go vet against code.
go vet ./...

.GOLANGCILINT_VERSION := v1.57.2
.GOLANGCILINT_VERSION := v1.61.0
.GOLANGCILINT_PATH := $(shell go env GOPATH)/bin/golangci-lint/$(.GOLANGCILINT_VERSION)

${.GOLANGCILINT_PATH}/golangci-lint:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test:
test-integration:
go test -v ./pkg/... -tags=integration

.GOLANGCILINT_VERSION := v1.57.2
.GOLANGCILINT_VERSION := v1.61.0
.GOLANGCILINT_PATH := $(shell go env GOPATH)/bin/golangci-lint/$(.GOLANGCILINT_VERSION)

${.GOLANGCILINT_PATH}/golangci-lint:
Expand Down

0 comments on commit 885cad9

Please sign in to comment.