Skip to content

Commit c0d684b

Browse files
authored
Merge pull request #623 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
2 parents ff1d4e2 + 5322984 commit c0d684b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ go:
88

99
script:
1010
- make check_license unused test-short
11-
- if [[ ! $TRAVIS_GO_VERSION =~ ^1\.9\.[x0-9]+$ ]]; then make lint; fi
11+
- if [[ ! $TRAVIS_GO_VERSION =~ ^1\.(9|10)\. ]]; then make lint; fi
1212
# Style is only checked against the latest supported Go version.
1313
- if [[ $TRAVIS_GO_VERSION =~ ^1\.(12)\. ]]; then make style; fi

Makefile.common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_
7474

7575
GOLANGCI_LINT :=
7676
GOLANGCI_LINT_OPTS ?=
77-
GOLANGCI_LINT_VERSION ?= v1.16.0
77+
GOLANGCI_LINT_VERSION ?= v1.17.1
7878
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
7979
# windows isn't included here because of the path separator being different.
8080
ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))

0 commit comments

Comments
 (0)