Skip to content

Commit a90cbd5

Browse files
authored
Merge pull request #2041 from goutamtadi1/update-golangci-lint
🌱 Update golangci lint
2 parents 0610cc8 + 64ad95f commit a90cbd5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Execute golangci-lint
2020
uses: golangci/golangci-lint-action@v2
2121
with:
22-
version: v1.29 # Always uses the latest patch version.
22+
version: v1.37 # Always uses the latest patch version.
2323
only-new-issues: true # Show only new issues if it's a pull request
2424

2525
testdata:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
8282
golangci-lint:
8383
@[ -f $(GOLANGCI_LINT) ] || { \
8484
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 ;\
8686
}
8787

8888
##@ Tests

pkg/internal/validation/dns.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ type dnsValidationConfig struct {
4040
}
4141

4242
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 '-', " +
4747
"and must start and end with an alphanumeric character",
4848
examples: []string{"example.com"},
4949
}

0 commit comments

Comments
 (0)