File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 36
36
uses : golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
37
37
with :
38
38
args : --verbose
39
- version : v1.59.1
39
+ version : v1.60.2
Original file line number Diff line number Diff line change @@ -66,6 +66,8 @@ linters-settings:
66
66
local-prefixes : github.com/prometheus/client_golang
67
67
gofumpt :
68
68
extra-rules : true
69
+ predeclared :
70
+ ignore : " min,max"
69
71
revive :
70
72
rules :
71
73
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_
61
61
SKIP_GOLANGCI_LINT :=
62
62
GOLANGCI_LINT :=
63
63
GOLANGCI_LINT_OPTS ?=
64
- GOLANGCI_LINT_VERSION ?= v1.59.1
64
+ GOLANGCI_LINT_VERSION ?= v1.60.2
65
65
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64/arm64.
66
66
# windows isn't included here because of the path separator being different.
67
67
ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ prefix.name_bucket;constname=constvalue;labelname=val2;le=+Inf 3 1477043
238
238
got := buf .String ()
239
239
240
240
if err := checkLinesAreEqual (want , got , useTags ); err != nil {
241
- t .Fatalf (err .Error ())
241
+ t .Fatal (err .Error ())
242
242
}
243
243
}
244
244
@@ -290,7 +290,7 @@ prefix.name;constname=constvalue;labelname=val2 1 1477043
290
290
got := buf .String ()
291
291
292
292
if err := checkLinesAreEqual (want , got , useTags ); err != nil {
293
- t .Fatalf (err .Error ())
293
+ t .Fatal (err .Error ())
294
294
}
295
295
}
296
296
You can’t perform that action at this time.
0 commit comments