Skip to content

Commit

Permalink
Merge pull request #57 from nicolasbock/golint
Browse files Browse the repository at this point in the history
Upgrade to most recent version of goling-ci
  • Loading branch information
dosaboy committed Aug 25, 2023
2 parents f6fee0a + 5e3e150 commit f2b611e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_

GOLANGCI_LINT :=
GOLANGCI_LINT_OPTS ?=
GOLANGCI_LINT_VERSION ?= v1.18.0
GOLANGCI_LINT_VERSION ?= v1.54.2
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
# windows isn't included here because of the path separator being different.
ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))
Expand Down Expand Up @@ -277,6 +277,7 @@ $(GOLANGCI_LINT):
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/$(GOLANGCI_LINT_VERSION)/install.sh \
| sed -e '/install -d/d' \
| sh -s -- -b $(FIRST_GOPATH)/bin $(GOLANGCI_LINT_VERSION)
$(GOLANGCI_LINT) --version
endif

ifdef GOVENDOR
Expand Down

0 comments on commit f2b611e

Please sign in to comment.