Skip to content

Commit

Permalink
Bump golangci-lint version compatible with go1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
karelyatin authored and openshift-merge-bot[bot] committed Jan 8, 2025
1 parent 20ecc51 commit 4800987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ tidy: ## Run go mod tidy on every mod file in the repo
.PHONY: golangci-lint
golangci-lint:
# NOTE this will install golangci-lint in to local bin dir
test -s $(LOCALBIN)/golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.51.2
test -s $(LOCALBIN)/golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.59.1
$(LOCALBIN)/golangci-lint run --fix

PROCS?=$(shell expr $(shell nproc --ignore 2) / 2)
Expand Down

0 comments on commit 4800987

Please sign in to comment.