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 19
19
- name : Execute golangci-lint
20
20
uses : golangci/golangci-lint-action@v2
21
21
with :
22
- version : v1.29 # Always uses the latest patch version.
22
+ version : v1.37 # Always uses the latest patch version.
23
23
only-new-issues : true # Show only new issues if it's a pull request
24
24
25
25
testdata :
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
82
82
golangci-lint :
83
83
@[ -f $( GOLANGCI_LINT) ] || { \
84
84
set -e ; \
85
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT ) ) v1.29.0 ; \
85
+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT ) ) v1.37.1 ; \
86
86
}
87
87
88
88
# #@ Tests
Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ type dnsValidationConfig struct {
40
40
}
41
41
42
42
var dns1123LabelConfig = dnsValidationConfig {
43
- format : dns1123LabelFmt ,
44
- maxLen : 56 , // = 63 - len("-system")
45
- re : regexp .MustCompile ("^" + dns1123LabelFmt + "$" ),
46
- errMsg : "a DNS-1123 label must consist of lower case alphanumeric characters or '-', " +
43
+ format : dns1123LabelFmt ,
44
+ maxLen : 56 , // = 63 - len("-system")
45
+ re : regexp .MustCompile ("^" + dns1123LabelFmt + "$" ),
46
+ errMsg : "a DNS-1123 label must consist of lower case alphanumeric characters or '-', " +
47
47
"and must start and end with an alphanumeric character" ,
48
48
examples : []string {"example.com" },
49
49
}
You can’t perform that action at this time.
0 commit comments