Skip to content

Commit e9242d5

Browse files
committed
Move go mod golangci-lint to v2
1 parent b76bb2c commit e9242d5

File tree

1,318 files changed

+123549
-19179
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,318 files changed

+123549
-19179
lines changed

tools/go.mod

Lines changed: 53 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/ghodss/yaml v1.0.0
99
github.com/go-git/go-git/v5 v5.12.0
1010
github.com/gogo/protobuf v1.3.2
11-
github.com/golangci/golangci-lint v1.64.8
11+
github.com/golangci/golangci-lint/v2 v2.1.6
1212
github.com/google/go-cmp v0.7.0
1313
github.com/mikefarah/yq/v4 v4.44.5
1414
github.com/openshift/crd-schema-checker v0.0.0-20241113192003-573763d3107a
@@ -37,10 +37,10 @@ replace sigs.k8s.io/controller-tools => github.com/openshift/controller-tools v0
3737
require (
3838
4d63.com/gocheckcompilerdirectives v1.3.0 // indirect
3939
4d63.com/gochecknoglobals v0.2.2 // indirect
40-
cel.dev/expr v0.19.0 // indirect
40+
cel.dev/expr v0.19.1 // indirect
4141
cloud.google.com/go v0.116.0 // indirect
4242
cloud.google.com/go/auth v0.15.0 // indirect
43-
cloud.google.com/go/auth/oauth2adapt v0.2.7 // indirect
43+
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
4444
cloud.google.com/go/compute/metadata v0.6.0 // indirect
4545
cloud.google.com/go/iam v1.2.2 // indirect
4646
cloud.google.com/go/monitoring v1.21.2 // indirect
@@ -49,9 +49,8 @@ require (
4949
github.com/Abirdcfly/dupword v0.1.3 // indirect
5050
github.com/Antonboom/errname v1.1.0 // indirect
5151
github.com/Antonboom/nilnil v1.1.0 // indirect
52-
github.com/Antonboom/testifylint v1.6.0 // indirect
52+
github.com/Antonboom/testifylint v1.6.1 // indirect
5353
github.com/BurntSushi/toml v1.5.0 // indirect
54-
github.com/Crocmagnon/fatcontext v0.7.1 // indirect
5554
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect
5655
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.1 // indirect
5756
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.25.0 // indirect
@@ -62,55 +61,62 @@ require (
6261
github.com/OpenPeeDeeP/depguard/v2 v2.2.1 // indirect
6362
github.com/ProtonMail/go-crypto v1.0.0 // indirect
6463
github.com/a8m/envsubst v1.4.2 // indirect
64+
github.com/alecthomas/chroma/v2 v2.17.2 // indirect
6565
github.com/alecthomas/go-check-sumtype v0.3.1 // indirect
6666
github.com/alecthomas/participle/v2 v2.1.1 // indirect
67-
github.com/alexkohler/nakedret/v2 v2.0.5 // indirect
67+
github.com/alexkohler/nakedret/v2 v2.0.6 // indirect
6868
github.com/alexkohler/prealloc v1.0.0 // indirect
6969
github.com/alingse/asasalint v0.0.11 // indirect
70-
github.com/alingse/nilnesserr v0.1.2 // indirect
70+
github.com/alingse/nilnesserr v0.2.0 // indirect
7171
github.com/antlr4-go/antlr/v4 v4.13.0 // indirect
7272
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a // indirect
7373
github.com/ashanbrown/forbidigo v1.6.0 // indirect
7474
github.com/ashanbrown/makezero v1.2.0 // indirect
75+
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
7576
github.com/beorn7/perks v1.0.1 // indirect
7677
github.com/bkielbasa/cyclop v1.2.3 // indirect
7778
github.com/blang/semver/v4 v4.0.0 // indirect
7879
github.com/blizzy78/varnamelen v0.8.0 // indirect
79-
github.com/bombsimon/wsl/v4 v4.6.0 // indirect
80+
github.com/bombsimon/wsl/v4 v4.7.0 // indirect
8081
github.com/breml/bidichk v0.3.3 // indirect
8182
github.com/breml/errchkjson v0.4.1 // indirect
82-
github.com/butuzov/ireturn v0.3.1 // indirect
83+
github.com/butuzov/ireturn v0.4.0 // indirect
8384
github.com/butuzov/mirror v1.3.0 // indirect
8485
github.com/catenacyber/perfsprint v0.9.1 // indirect
8586
github.com/ccojocar/zxcvbn-go v1.0.2 // indirect
8687
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
87-
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
8888
github.com/cespare/xxhash/v2 v2.3.0 // indirect
8989
github.com/charithe/durationcheck v0.0.10 // indirect
90+
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
91+
github.com/charmbracelet/lipgloss v1.1.0 // indirect
92+
github.com/charmbracelet/x/ansi v0.8.0 // indirect
93+
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect
94+
github.com/charmbracelet/x/term v0.2.1 // indirect
9095
github.com/chavacava/garif v0.1.0 // indirect
9196
github.com/ckaznocha/intrange v0.3.1 // indirect
9297
github.com/cloudflare/circl v1.3.7 // indirect
93-
github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78 // indirect
98+
github.com/cncf/xds/go v0.0.0-20241223141626-cff3c89139a3 // indirect
9499
github.com/curioswitch/go-reassign v0.3.0 // indirect
95100
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
96101
github.com/daixiang0/gci v0.13.6 // indirect
97102
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
98103
github.com/denis-tingaikin/go-header v0.5.0 // indirect
99104
github.com/dimchansky/utfbom v1.1.1 // indirect
105+
github.com/dlclark/regexp2 v1.11.5 // indirect
100106
github.com/elliotchance/orderedmap v1.6.0 // indirect
101107
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
102108
github.com/emirpasic/gods v1.18.1 // indirect
103-
github.com/envoyproxy/go-control-plane v0.13.1 // indirect
104-
github.com/envoyproxy/protoc-gen-validate v1.1.0 // indirect
109+
github.com/envoyproxy/go-control-plane/envoy v1.32.4 // indirect
110+
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
105111
github.com/ettle/strcase v0.2.0 // indirect
106112
github.com/fatih/color v1.18.0 // indirect
107113
github.com/fatih/structtag v1.2.0 // indirect
108114
github.com/felixge/httpsnoop v1.0.4 // indirect
109-
github.com/firefart/nonamedreturns v1.0.5 // indirect
115+
github.com/firefart/nonamedreturns v1.0.6 // indirect
110116
github.com/fsnotify/fsnotify v1.7.0 // indirect
111117
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
112118
github.com/fzipp/gocyclo v0.6.0 // indirect
113-
github.com/ghostiam/protogetter v0.3.12 // indirect
119+
github.com/ghostiam/protogetter v0.3.15 // indirect
114120
github.com/go-critic/go-critic v0.13.0 // indirect
115121
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
116122
github.com/go-git/go-billy/v5 v5.5.0 // indirect
@@ -138,16 +144,17 @@ require (
138144
github.com/golangci/dupl v0.0.0-20250308024227-f665c8d69b32 // indirect
139145
github.com/golangci/go-printf-func-name v0.1.0 // indirect
140146
github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect
147+
github.com/golangci/golines v0.0.0-20250217134842-442fd0091d95 // indirect
141148
github.com/golangci/misspell v0.6.0 // indirect
142149
github.com/golangci/plugin-module-register v0.1.1 // indirect
143150
github.com/golangci/revgrep v0.8.0 // indirect
144-
github.com/golangci/unconvert v0.0.0-20240309020433-c5143eacb3ed // indirect
151+
github.com/golangci/unconvert v0.0.0-20250410112200-a129a6e6413e // indirect
145152
github.com/google/cel-go v0.22.0 // indirect
146153
github.com/google/gnostic-models v0.6.8 // indirect
147154
github.com/google/gofuzz v1.2.0 // indirect
148155
github.com/google/s2a-go v0.1.9 // indirect
149156
github.com/google/uuid v1.6.0 // indirect
150-
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
157+
github.com/googleapis/enterprise-certificate-proxy v0.3.6 // indirect
151158
github.com/googleapis/gax-go/v2 v2.14.1 // indirect
152159
github.com/gordonklaus/ineffassign v0.1.0 // indirect
153160
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect
@@ -163,7 +170,7 @@ require (
163170
github.com/inconshreveable/mousetrap v1.1.0 // indirect
164171
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
165172
github.com/jessevdk/go-flags v1.6.1 // indirect
166-
github.com/jgautheron/goconst v1.7.1 // indirect
173+
github.com/jgautheron/goconst v1.8.1 // indirect
167174
github.com/jingyugao/rowserrcheck v1.1.1 // indirect
168175
github.com/jinzhu/copier v0.4.0 // indirect
169176
github.com/jjti/go-spancheck v0.6.4 // indirect
@@ -176,41 +183,44 @@ require (
176183
github.com/kkHAIKE/contextcheck v1.1.6 // indirect
177184
github.com/krishicks/yaml-patch v0.0.10 // indirect
178185
github.com/kulti/thelper v0.6.3 // indirect
179-
github.com/kunwardeep/paralleltest v1.0.10 // indirect
186+
github.com/kunwardeep/paralleltest v1.0.14 // indirect
180187
github.com/lasiar/canonicalheader v1.1.2 // indirect
181-
github.com/ldez/exptostd v0.4.2 // indirect
188+
github.com/ldez/exptostd v0.4.3 // indirect
182189
github.com/ldez/gomoddirectives v0.6.1 // indirect
183190
github.com/ldez/grignotin v0.9.0 // indirect
184191
github.com/ldez/tagliatelle v0.7.1 // indirect
185-
github.com/ldez/usetesting v0.4.2 // indirect
192+
github.com/ldez/usetesting v0.4.3 // indirect
186193
github.com/leonklingele/grouper v1.1.2 // indirect
194+
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
187195
github.com/macabu/inamedparam v0.2.0 // indirect
188196
github.com/magiconair/properties v1.8.7 // indirect
189197
github.com/mailru/easyjson v0.7.7 // indirect
198+
github.com/manuelarte/funcorder v0.2.1 // indirect
190199
github.com/maratori/testableexamples v1.0.0 // indirect
191200
github.com/maratori/testpackage v1.1.1 // indirect
192201
github.com/matoous/godox v1.1.0 // indirect
193202
github.com/mattn/go-colorable v0.1.14 // indirect
194203
github.com/mattn/go-isatty v0.0.20 // indirect
195204
github.com/mattn/go-runewidth v0.0.16 // indirect
196-
github.com/mgechev/revive v1.7.0 // indirect
205+
github.com/mgechev/revive v1.9.0 // indirect
197206
github.com/mitchellh/go-homedir v1.1.0 // indirect
198207
github.com/mitchellh/mapstructure v1.5.0 // indirect
199208
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
200209
github.com/modern-go/reflect2 v1.0.2 // indirect
201210
github.com/moricho/tparallel v0.3.2 // indirect
211+
github.com/muesli/termenv v0.16.0 // indirect
202212
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
203213
github.com/nakabonne/nestif v0.3.1 // indirect
204214
github.com/nishanths/exhaustive v0.12.0 // indirect
205215
github.com/nishanths/predeclared v0.2.2 // indirect
206216
github.com/nunnatsa/ginkgolinter v0.19.1 // indirect
207217
github.com/olekukonko/tablewriter v0.0.5 // indirect
208218
github.com/pelletier/go-toml v1.9.5 // indirect
209-
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
219+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
210220
github.com/pjbgf/sha1cd v0.3.0 // indirect
211221
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
212222
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
213-
github.com/polyfloyd/go-errorlint v1.7.1 // indirect
223+
github.com/polyfloyd/go-errorlint v1.8.0 // indirect
214224
github.com/prometheus/client_golang v1.19.1 // indirect
215225
github.com/prometheus/client_model v0.6.1 // indirect
216226
github.com/prometheus/common v0.55.0 // indirect
@@ -229,15 +239,14 @@ require (
229239
github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 // indirect
230240
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
231241
github.com/sashamelentyev/usestdlibvars v1.28.0 // indirect
232-
github.com/securego/gosec/v2 v2.22.2 // indirect
242+
github.com/securego/gosec/v2 v2.22.3 // indirect
233243
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
234244
github.com/sirupsen/logrus v1.9.3 // indirect
235245
github.com/sivchari/containedctx v1.0.3 // indirect
236-
github.com/sivchari/tenv v1.12.1 // indirect
237246
github.com/skeema/knownhosts v1.2.2 // indirect
238247
github.com/sonatard/noctx v0.1.0 // indirect
239248
github.com/sourcegraph/go-diff v0.7.0 // indirect
240-
github.com/spf13/afero v1.12.0 // indirect
249+
github.com/spf13/afero v1.14.0 // indirect
241250
github.com/spf13/cast v1.5.0 // indirect
242251
github.com/spf13/jwalterweatherman v1.1.0 // indirect
243252
github.com/spf13/viper v1.12.0 // indirect
@@ -248,10 +257,10 @@ require (
248257
github.com/stretchr/testify v1.10.0 // indirect
249258
github.com/subosito/gotenv v1.4.1 // indirect
250259
github.com/tdakkota/asciicheck v0.4.1 // indirect
251-
github.com/tetafro/godot v1.5.0 // indirect
260+
github.com/tetafro/godot v1.5.1 // indirect
252261
github.com/timakin/bodyclose v0.0.0-20241222091800-1db5c5ca4d67 // indirect
253-
github.com/timonwong/loggercheck v0.10.1 // indirect
254-
github.com/tomarrell/wrapcheck/v2 v2.10.0 // indirect
262+
github.com/timonwong/loggercheck v0.11.0 // indirect
263+
github.com/tomarrell/wrapcheck/v2 v2.11.0 // indirect
255264
github.com/tommy-muehle/go-mnd/v2 v2.5.1 // indirect
256265
github.com/ultraware/funlen v0.2.0 // indirect
257266
github.com/ultraware/whitespace v0.2.0 // indirect
@@ -260,24 +269,26 @@ require (
260269
github.com/x448/float16 v0.8.4 // indirect
261270
github.com/xanzy/ssh-agent v0.3.3 // indirect
262271
github.com/xen0n/gosmopolitan v1.3.0 // indirect
272+
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
263273
github.com/yagipy/maintidx v1.0.0 // indirect
264274
github.com/yeya24/promlinter v0.3.0 // indirect
265275
github.com/ykadowak/zerologlint v0.1.5 // indirect
266276
github.com/yuin/gopher-lua v1.1.1 // indirect
267277
gitlab.com/bosi/decorder v0.4.2 // indirect
268-
go-simpler.org/musttag v0.13.0 // indirect
269-
go-simpler.org/sloglint v0.9.0 // indirect
278+
go-simpler.org/musttag v0.13.1 // indirect
279+
go-simpler.org/sloglint v0.11.0 // indirect
280+
go.augendre.info/fatcontext v0.8.0 // indirect
270281
go.opencensus.io v0.24.0 // indirect
271282
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
272-
go.opentelemetry.io/contrib/detectors/gcp v1.32.0 // indirect
283+
go.opentelemetry.io/contrib/detectors/gcp v1.34.0 // indirect
273284
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.59.0 // indirect
274285
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.59.0 // indirect
275286
go.opentelemetry.io/otel v1.34.0 // indirect
276287
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0 // indirect
277288
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect
278289
go.opentelemetry.io/otel/metric v1.34.0 // indirect
279290
go.opentelemetry.io/otel/sdk v1.34.0 // indirect
280-
go.opentelemetry.io/otel/sdk/metric v1.32.0 // indirect
291+
go.opentelemetry.io/otel/sdk/metric v1.34.0 // indirect
281292
go.opentelemetry.io/otel/trace v1.34.0 // indirect
282293
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
283294
go.uber.org/automaxprocs v1.6.0 // indirect
@@ -288,18 +299,18 @@ require (
288299
golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac // indirect
289300
golang.org/x/mod v0.24.0 // indirect
290301
golang.org/x/net v0.39.0 // indirect
291-
golang.org/x/oauth2 v0.26.0 // indirect
302+
golang.org/x/oauth2 v0.28.0 // indirect
292303
golang.org/x/sync v0.13.0 // indirect
293304
golang.org/x/sys v0.32.0 // indirect
294305
golang.org/x/term v0.31.0 // indirect
295306
golang.org/x/text v0.24.0 // indirect
296-
golang.org/x/time v0.10.0 // indirect
297-
google.golang.org/api v0.223.0 // indirect
307+
golang.org/x/time v0.11.0 // indirect
308+
google.golang.org/api v0.228.0 // indirect
298309
google.golang.org/genproto v0.0.0-20241118233622-e639e219e697 // indirect
299-
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 // indirect
300-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250219182151-9fdb1cabc7b2 // indirect
301-
google.golang.org/grpc v1.70.0 // indirect
302-
google.golang.org/protobuf v1.36.5 // indirect
310+
google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422 // indirect
311+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250313205543-e70fdf4c4cb4 // indirect
312+
google.golang.org/grpc v1.71.0 // indirect
313+
google.golang.org/protobuf v1.36.6 // indirect
303314
gopkg.in/inf.v0 v0.9.1 // indirect
304315
gopkg.in/ini.v1 v1.67.0 // indirect
305316
gopkg.in/op/go-logging.v1 v1.0.0-20160211212156-b2cb9fa56473 // indirect
@@ -310,7 +321,7 @@ require (
310321
k8s.io/apiserver v0.32.2 // indirect
311322
k8s.io/client-go v0.32.2 // indirect
312323
k8s.io/component-base v0.32.2 // indirect
313-
mvdan.cc/gofumpt v0.7.0 // indirect
324+
mvdan.cc/gofumpt v0.8.0 // indirect
314325
mvdan.cc/unparam v0.0.0-20250301125049-0df0534333a4 // indirect
315326
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.0 // indirect
316327
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect

0 commit comments

Comments
 (0)