File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ executors:
5
5
# Whenever the Go version is updated here, .promu.yml should also be updated.
6
6
golang :
7
7
docker :
8
- - image : cimg/go:1.19
8
+ - image : cimg/go:1.21
9
9
jobs :
10
10
test :
11
11
executor : golang
Original file line number Diff line number Diff line change 1
1
go :
2
2
# Whenever the Go version is updated here, .travis.yml and
3
3
# .circle/config.yml should also be updated.
4
- version : 1.19
4
+ version : 1.21
5
5
repository :
6
6
path : github.com/prometheus/graphite_exporter
7
7
build :
Original file line number Diff line number Diff line change @@ -49,19 +49,19 @@ endif
49
49
GOTEST := $(GO) test
50
50
GOTEST_DIR :=
51
51
ifneq ($(CIRCLE_JOB),)
52
- ifneq ($(shell which gotestsum),)
52
+ ifneq ($(shell command -v gotestsum > /dev/null ),)
53
53
GOTEST_DIR := test-results
54
54
GOTEST := gotestsum --junitfile $(GOTEST_DIR)/unit-tests.xml --
55
55
endif
56
56
endif
57
57
58
- PROMU_VERSION ?= 0.14 .0
58
+ PROMU_VERSION ?= 0.15 .0
59
59
PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM).tar.gz
60
60
61
61
SKIP_GOLANGCI_LINT :=
62
62
GOLANGCI_LINT :=
63
63
GOLANGCI_LINT_OPTS ?=
64
- GOLANGCI_LINT_VERSION ?= v1.51 .2
64
+ GOLANGCI_LINT_VERSION ?= v1.54 .2
65
65
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
66
66
# windows isn't included here because of the path separator being different.
67
67
ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))
@@ -178,7 +178,7 @@ endif
178
178
.PHONY: common-yamllint
179
179
common-yamllint:
180
180
@echo ">> running yamllint on all YAML files in the repository"
181
- ifeq (, $(shell which yamllint))
181
+ ifeq (, $(shell command -v yamllint > /dev/null ))
182
182
@echo "yamllint not installed so skipping"
183
183
else
184
184
yamllint .
You can’t perform that action at this time.
0 commit comments