Skip to content

Commit 001d337

Browse files
committed
use golangci-lint v1.54.2
1 parent f375f06 commit 001d337

File tree

4 files changed

+7
-12
lines changed

4 files changed

+7
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ jobs:
6363
check-latest: true
6464
- uses: golangci/golangci-lint-action@v3
6565
with:
66-
version: latest
66+
version: v1.54.2

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.21
55
// Tools, see also internal/tool/tools.go.
66
require (
77
github.com/envoyproxy/protoc-gen-validate v1.0.2
8-
github.com/golangci/golangci-lint v1.55.0
8+
github.com/golangci/golangci-lint v1.54.2
99
github.com/pseudomuto/protoc-gen-doc v1.5.1
1010
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0
1111
google.golang.org/protobuf v1.31.0

go.sum

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,11 @@ github.com/golangci/go-misc v0.0.0-20220329215616-d24fe342adfe h1:6RGUuS7EGotKx6
306306
github.com/golangci/go-misc v0.0.0-20220329215616-d24fe342adfe/go.mod h1:gjqyPShc/m8pEMpk0a3SeagVb0kaqvhscv+i9jI5ZhQ=
307307
github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e h1:ULcKCDV1LOZPFxGZaA6TlQbiM3J2GCPnkx/bGF6sX/g=
308308
github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e/go.mod h1:Pm5KhLPA8gSnQwrQ6ukebRcapGb/BG9iUkdaiCcGHJM=
309+
github.com/golangci/golangci-lint v1.54.0/go.mod h1:iNEG4/FSaCPMDZTk1JGetYZzz5sg25ref6QECL/NA9U=
310+
github.com/golangci/golangci-lint v1.54.1 h1:0qMrH1gkeIBqCZaaAm5Fwq4xys9rO/lJofHfZURIFFk=
311+
github.com/golangci/golangci-lint v1.54.1/go.mod h1:JK47+qksV/t2mAz9YvndwT0ZLW4A1rvDljOs3g9jblo=
312+
github.com/golangci/golangci-lint v1.54.2 h1:oR9zxfWYxt7hFqk6+fw6Enr+E7F0SN2nqHhJYyIb0yo=
313+
github.com/golangci/golangci-lint v1.54.2/go.mod h1:vnsaCTPKCI2wreL9tv7RkHDwUrz3htLjed6+6UsvcwU=
309314
github.com/golangci/golangci-lint v1.55.0 h1:ePpc6YhM1ZV8kHU8dwmHDHAdeedZHdK8cmTXlkkRdi8=
310315
github.com/golangci/golangci-lint v1.55.0/go.mod h1:Z/OawFQ4yqFo2/plDYlIjoZlJeVYkRcqS9dW55p0FXg=
311316
github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0 h1:MfyDlzVjl1hoaPzPD4Gpb/QgoRfSBR0jdhwGyAWwMSA=

pkg/kascfg/validation_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,6 @@ func TestValidation_Valid(t *testing.T) {
3232
},
3333
},
3434
},
35-
{
36-
Name: "GitopsCF",
37-
Valid: &GitopsCF{
38-
ProjectInfoCacheTtl: durationpb.New(0), // zero means "disabled"
39-
MaxManifestFileSize: 0, // zero means "use default value"
40-
MaxTotalManifestFileSize: 0, // zero means "use default value"
41-
MaxNumberOfPaths: 0, // zero means "use default value"
42-
MaxNumberOfFiles: 0, // zero means "use default value"
43-
},
44-
},
4535
{
4636
Name: "AgentCF",
4737
Valid: &AgentCF{

0 commit comments

Comments
 (0)