Skip to content

Commit

Permalink
Upgrade Golangci-lint (#1685)
Browse files Browse the repository at this point in the history
* Support for k8s v1.25 in CI

* Support for k8s v1.25 in CI

* Change k8s api to v1.25

* Upgrade golangci-lint version
  • Loading branch information
johnugeorge authored Nov 4, 2022
1 parent 79ff364 commit ba703a3
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 @@ -58,7 +58,7 @@ vet: ## Run go vet against code.
GOLANGCI_LINT=$(shell which golangci-lint)
golangci-lint:
ifeq ($(GOLANGCI_LINT),)
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.49.0
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.50.1
$(info golangci-lint has been installed)
endif
golangci-lint run --timeout 5m --go 1.19 ./...
Expand Down

0 comments on commit ba703a3

Please sign in to comment.