File tree Expand file tree Collapse file tree 4 files changed +9
-10
lines changed
Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 3232
3333linters-settings :
3434 depguard :
35- list-type : blacklist
36- include-go-root : true
37- packages :
38- # The io/ioutil package has been deprecated.
39- # https://go.dev/doc/go1.16#ioutil
40- - io/ioutil
35+ rules :
36+ main :
37+ deny :
38+ - pkg : io/ioutil
39+ desc : The io/ioutil package has been deprecated, see https://go.dev/doc/go1.16#ioutil
4140 gocyclo :
4241 min-complexity : 16
4342 govet :
Original file line number Diff line number Diff line change @@ -1010,7 +1010,7 @@ const (
10101010 flagTTY = "tty"
10111011 flagUpdateDelay = "update-delay"
10121012 flagUpdateFailureAction = "update-failure-action"
1013- flagUpdateMaxFailureRatio = "update-max-failure-ratio"
1013+ flagUpdateMaxFailureRatio = "update-max-failure-ratio" // #nosec G101 -- ignoring: Potential hardcoded credentials (gosec)
10141014 flagUpdateMonitor = "update-monitor"
10151015 flagUpdateOrder = "update-order"
10161016 flagUpdateParallelism = "update-parallelism"
Original file line number Diff line number Diff line change 22
33ARG GO_VERSION=1.20.7
44ARG ALPINE_VERSION=3.17
5- ARG GOLANGCI_LINT_VERSION=v1.52 .2
5+ ARG GOLANGCI_LINT_VERSION=v1.54 .2
66
77FROM golangci/golangci-lint:${GOLANGCI_LINT_VERSION}-alpine AS golangci-lint
88
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ const (
1818 // AlpineImage is an image in the test registry
1919 AlpineImage = "registry:5000/alpine:frozen"
2020 // AlpineSha is the sha of the alpine image
21- AlpineSha = "e2e16842c9b54d985bf1ef9242a313f36b856181f188de21313820e177002501"
21+ AlpineSha = "e2e16842c9b54d985bf1ef9242a313f36b856181f188de21313820e177002501" // #nosec G101 -- ignoring: Potential hardcoded credentials (gosec)
2222 // BusyboxImage is an image in the test registry
2323 BusyboxImage = "registry:5000/busybox:frozen"
2424 // BusyboxSha is the sha of the busybox image
25- BusyboxSha = "030fcb92e1487b18c974784dcc110a93147c9fc402188370fbfd17efabffc6af"
25+ BusyboxSha = "030fcb92e1487b18c974784dcc110a93147c9fc402188370fbfd17efabffc6af" // #nosec G101 -- ignoring: Potential hardcoded credentials (gosec)
2626)
2727
2828// SetupConfigFile creates a config.json file for testing
You can’t perform that action at this time.
0 commit comments