Skip to content

Commit 85e7633

Browse files
Update module github.com/golangci/golangci-lint/v2 to v2.6.0 (#541)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/golangci/golangci-lint/v2](https://redirect.github.com/golangci/golangci-lint) | `v2.4.0` -> `v2.6.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgolangci%2fgolangci-lint%2fv2/v2.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgolangci%2fgolangci-lint%2fv2/v2.4.0/v2.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>golangci/golangci-lint (github.com/golangci/golangci-lint/v2)</summary> ### [`v2.6.0`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v260) [Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.5.0...v2.6.0) 1. New linters - Add `modernize` analyzer suite 2. Linters new features or changes - `arangolint`: from 0.2.0 to 0.3.1 - `dupword`: from 0.1.6 to 0.1.7 (new option `comments-only`) - `go-critic`: from 0.13.0 to 0.14.0 (new rules/checkers: `zeroByteRepeat`, `dupOption`) - `gofumpt`: from 0.9.1 to 0.9.2 ("clothe" naked returns is now controlled by the `extra-rules` option) - `perfsprint`: from 0.9.1 to 0.10.0 (new options: `concat-loop`, `loop-other-ops`) - `wsl`: from 5.2.0 to 5.3.0 3. Linters bug fixes - `dupword`: from 0.1.6 to 0.1.7 - `durationcheck`: from 0.0.10 to 0.0.11 - `exptostd`: from 0.4.4 to 0.4.5 - `fatcontext`: from 0.8.1 to 0.9.0 - `forbidigo`: from 2.1.0 to 2.3.0 - `ginkgolinter`: from 0.21.0 to 0.21.2 - `godoc-lint`: from 0.10.0 to 0.10.1 - `gomoddirectives`: from 0.7.0 to 0.7.1 - `gosec`: from 2.22.8 to 2.22.10 - `makezero`: from 2.0.1 to 2.1.0 - `nilerr`: from 0.1.1 to 0.1.2 - `paralleltest`: from 1.0.14 to 1.0.15 - `protogetter`: from 0.3.16 to 0.3.17 - `unparam`: from [`0df0534`](https://redirect.github.com/golangci/golangci-lint/commit/0df0534333a4) to [`5beb8c8`](https://redirect.github.com/golangci/golangci-lint/commit/5beb8c8f8f15) 4. Misc. - fix: ignore some files to hash the version for custom build ### [`v2.5.0`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v250) [Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.4.0...v2.5.0) 1. New linters - Add `godoclint` linter <https://github.com/godoc-lint/godoc-lint> - Add `unqueryvet` linter <https://github.com/MirrexOne/unqueryvet> - Add `iotamixing` linter <https://github.com/AdminBenni/iota-mixing> 2. Linters new features or changes - `embeddedstructfieldcheck`: from 0.3.0 to 0.4.0 (new option: `empty-line`) - `err113`: from [`aea10b5`](https://redirect.github.com/golangci/golangci-lint/commit/aea10b59be24) to 0.1.1 (skip internals of `Is` methods for `error` type) - `ginkgolinter`: from 0.20.0 to 0.21.0 (new option: `force-tonot`) - `gofumpt`: from 0.8.0 to 0.9.1 (new rule is to "clothe" naked returns for the sake of clarity) - `ineffassign`: from 0.1.0 to 0.2.0 (new option: `check-escaping-errors`) - `musttag`: from 0.13.1 to 0.14.0 (support interface methods) - `revive`: from 1.11.0 to 1.12.0 (new options: `identical-ifelseif-branches`, `identical-ifelseif-conditions`, `identical-switch-branches`, `identical-switch-conditions`, `package-directory-mismatch`, `unsecure-url-scheme`, `use-waitgroup-go`, `useless-fallthrough`) - `thelper`: from 0.6.3 to 0.7.1 (skip `t.Helper` in functions passed to `synctest.Test`) - `wsl`: from 5.1.1 to 5.2.0 (improvements related to subexpressions) 3. Linters bug fixes - `asciicheck`: from 0.4.1 to 0.5.0 - `errname`: from 1.1.0 to 1.1.1 - `fatcontext`: from 0.8.0 to 0.8.1 - `go-printf-func-name`: from 0.1.0 to 0.1.1 - `godot`: from 1.5.1 to 1.5.4 - `gosec`: from 2.22.7 to 2.22.8 - `nilerr`: from 0.1.1 to a temporary fork - `nilnil`: from 1.1.0 to 1.1.1 - `protogetter`: from 0.3.15 to 0.3.16 - `tagliatelle`: from 0.7.1 to 0.7.2 - `testifylint`: from 1.6.1 to 1.6.4 4. Misc. - fix: "no export data" errors are now handled as a standard typecheck error 5. Documentation - Improve nolint section about syntax </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/XSAM/otelsql). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjE1OS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent bba3653 commit 85e7633

File tree

2 files changed

+158
-152
lines changed

2 files changed

+158
-152
lines changed

internal/tools/go.mod

Lines changed: 49 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/XSAM/otelsql/internal/tools
22

33
go 1.24.0
44

5-
require github.com/golangci/golangci-lint/v2 v2.4.0
5+
require github.com/golangci/golangci-lint/v2 v2.6.0
66

77
require (
88
4d63.com/gocheckcompilerdirectives v1.3.0 // indirect
@@ -11,14 +11,16 @@ require (
1111
dev.gaijin.team/go/exhaustruct/v4 v4.0.0 // indirect
1212
dev.gaijin.team/go/golib v0.6.0 // indirect
1313
github.com/4meepo/tagalign v1.4.3 // indirect
14-
github.com/Abirdcfly/dupword v0.1.6 // indirect
14+
github.com/Abirdcfly/dupword v0.1.7 // indirect
15+
github.com/AdminBenni/iota-mixing v1.0.0 // indirect
1516
github.com/AlwxSin/noinlineerr v1.0.5 // indirect
16-
github.com/Antonboom/errname v1.1.0 // indirect
17-
github.com/Antonboom/nilnil v1.1.0 // indirect
18-
github.com/Antonboom/testifylint v1.6.1 // indirect
17+
github.com/Antonboom/errname v1.1.1 // indirect
18+
github.com/Antonboom/nilnil v1.1.1 // indirect
19+
github.com/Antonboom/testifylint v1.6.4 // indirect
1920
github.com/BurntSushi/toml v1.5.0 // indirect
20-
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect
21-
github.com/Masterminds/semver/v3 v3.3.1 // indirect
21+
github.com/Djarvur/go-err113 v0.1.1 // indirect
22+
github.com/Masterminds/semver/v3 v3.4.0 // indirect
23+
github.com/MirrexOne/unqueryvet v1.2.1 // indirect
2224
github.com/OpenPeeDeeP/depguard/v2 v2.2.1 // indirect
2325
github.com/alecthomas/chroma/v2 v2.20.0 // indirect
2426
github.com/alecthomas/go-check-sumtype v0.3.1 // indirect
@@ -27,22 +29,22 @@ require (
2729
github.com/alfatraining/structtag v1.0.0 // indirect
2830
github.com/alingse/asasalint v0.0.11 // indirect
2931
github.com/alingse/nilnesserr v0.2.0 // indirect
30-
github.com/ashanbrown/forbidigo/v2 v2.1.0 // indirect
31-
github.com/ashanbrown/makezero/v2 v2.0.1 // indirect
32+
github.com/ashanbrown/forbidigo/v2 v2.3.0 // indirect
33+
github.com/ashanbrown/makezero/v2 v2.1.0 // indirect
3234
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
3335
github.com/beorn7/perks v1.0.1 // indirect
3436
github.com/bkielbasa/cyclop v1.2.3 // indirect
3537
github.com/blizzy78/varnamelen v0.8.0 // indirect
3638
github.com/bombsimon/wsl/v4 v4.7.0 // indirect
37-
github.com/bombsimon/wsl/v5 v5.1.1 // indirect
39+
github.com/bombsimon/wsl/v5 v5.3.0 // indirect
3840
github.com/breml/bidichk v0.3.3 // indirect
3941
github.com/breml/errchkjson v0.4.1 // indirect
4042
github.com/butuzov/ireturn v0.4.0 // indirect
4143
github.com/butuzov/mirror v1.3.0 // indirect
42-
github.com/catenacyber/perfsprint v0.9.1 // indirect
44+
github.com/catenacyber/perfsprint v0.10.0 // indirect
4345
github.com/ccojocar/zxcvbn-go v1.0.4 // indirect
4446
github.com/cespare/xxhash/v2 v2.3.0 // indirect
45-
github.com/charithe/durationcheck v0.0.10 // indirect
47+
github.com/charithe/durationcheck v0.0.11 // indirect
4648
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
4749
github.com/charmbracelet/lipgloss v1.1.0 // indirect
4850
github.com/charmbracelet/x/ansi v0.8.0 // indirect
@@ -61,8 +63,8 @@ require (
6163
github.com/firefart/nonamedreturns v1.0.6 // indirect
6264
github.com/fsnotify/fsnotify v1.5.4 // indirect
6365
github.com/fzipp/gocyclo v0.6.0 // indirect
64-
github.com/ghostiam/protogetter v0.3.15 // indirect
65-
github.com/go-critic/go-critic v0.13.0 // indirect
66+
github.com/ghostiam/protogetter v0.3.17 // indirect
67+
github.com/go-critic/go-critic v0.14.0 // indirect
6668
github.com/go-toolsmith/astcast v1.1.0 // indirect
6769
github.com/go-toolsmith/astcopy v1.1.0 // indirect
6870
github.com/go-toolsmith/astequal v1.2.0 // indirect
@@ -73,10 +75,12 @@ require (
7375
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
7476
github.com/go-xmlfmt/xmlfmt v1.1.3 // indirect
7577
github.com/gobwas/glob v0.2.3 // indirect
76-
github.com/gofrs/flock v0.12.1 // indirect
78+
github.com/godoc-lint/godoc-lint v0.10.1 // indirect
79+
github.com/gofrs/flock v0.13.0 // indirect
7780
github.com/golang/protobuf v1.5.3 // indirect
81+
github.com/golangci/asciicheck v0.5.0 // indirect
7882
github.com/golangci/dupl v0.0.0-20250308024227-f665c8d69b32 // indirect
79-
github.com/golangci/go-printf-func-name v0.1.0 // indirect
83+
github.com/golangci/go-printf-func-name v0.1.1 // indirect
8084
github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect
8185
github.com/golangci/golines v0.0.0-20250217134842-442fd0091d95 // indirect
8286
github.com/golangci/misspell v0.7.0 // indirect
@@ -85,11 +89,11 @@ require (
8589
github.com/golangci/swaggoswag v0.0.0-20250504205917-77f2aca3143e // indirect
8690
github.com/golangci/unconvert v0.0.0-20250410112200-a129a6e6413e // indirect
8791
github.com/google/go-cmp v0.7.0 // indirect
88-
github.com/gordonklaus/ineffassign v0.1.0 // indirect
92+
github.com/gordonklaus/ineffassign v0.2.0 // indirect
8993
github.com/gostaticanalysis/analysisutil v0.7.1 // indirect
9094
github.com/gostaticanalysis/comment v1.5.0 // indirect
9195
github.com/gostaticanalysis/forcetypeassert v0.2.0 // indirect
92-
github.com/gostaticanalysis/nilerr v0.1.1 // indirect
96+
github.com/gostaticanalysis/nilerr v0.1.2 // indirect
9397
github.com/hashicorp/go-immutable-radix/v2 v2.1.0 // indirect
9498
github.com/hashicorp/go-version v1.7.0 // indirect
9599
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
@@ -103,19 +107,19 @@ require (
103107
github.com/karamaru-alpha/copyloopvar v1.2.1 // indirect
104108
github.com/kisielk/errcheck v1.9.0 // indirect
105109
github.com/kkHAIKE/contextcheck v1.1.6 // indirect
106-
github.com/kulti/thelper v0.6.3 // indirect
107-
github.com/kunwardeep/paralleltest v1.0.14 // indirect
110+
github.com/kulti/thelper v0.7.1 // indirect
111+
github.com/kunwardeep/paralleltest v1.0.15 // indirect
108112
github.com/lasiar/canonicalheader v1.1.2 // indirect
109-
github.com/ldez/exptostd v0.4.4 // indirect
110-
github.com/ldez/gomoddirectives v0.7.0 // indirect
111-
github.com/ldez/grignotin v0.10.0 // indirect
112-
github.com/ldez/tagliatelle v0.7.1 // indirect
113+
github.com/ldez/exptostd v0.4.5 // indirect
114+
github.com/ldez/gomoddirectives v0.7.1 // indirect
115+
github.com/ldez/grignotin v0.10.1 // indirect
116+
github.com/ldez/tagliatelle v0.7.2 // indirect
113117
github.com/ldez/usetesting v0.5.0 // indirect
114118
github.com/leonklingele/grouper v1.1.2 // indirect
115119
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
116120
github.com/macabu/inamedparam v0.2.0 // indirect
117121
github.com/magiconair/properties v1.8.6 // indirect
118-
github.com/manuelarte/embeddedstructfieldcheck v0.3.0 // indirect
122+
github.com/manuelarte/embeddedstructfieldcheck v0.4.0 // indirect
119123
github.com/manuelarte/funcorder v0.5.0 // indirect
120124
github.com/maratori/testableexamples v1.0.0 // indirect
121125
github.com/maratori/testpackage v1.1.1 // indirect
@@ -124,15 +128,15 @@ require (
124128
github.com/mattn/go-isatty v0.0.20 // indirect
125129
github.com/mattn/go-runewidth v0.0.16 // indirect
126130
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
127-
github.com/mgechev/revive v1.11.0 // indirect
131+
github.com/mgechev/revive v1.12.0 // indirect
128132
github.com/mitchellh/go-homedir v1.1.0 // indirect
129133
github.com/mitchellh/mapstructure v1.5.0 // indirect
130134
github.com/moricho/tparallel v0.3.2 // indirect
131135
github.com/muesli/termenv v0.16.0 // indirect
132136
github.com/nakabonne/nestif v0.3.1 // indirect
133137
github.com/nishanths/exhaustive v0.12.0 // indirect
134138
github.com/nishanths/predeclared v0.2.2 // indirect
135-
github.com/nunnatsa/ginkgolinter v0.20.0 // indirect
139+
github.com/nunnatsa/ginkgolinter v0.21.2 // indirect
136140
github.com/pelletier/go-toml v1.9.5 // indirect
137141
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
138142
github.com/pmezard/go-difflib v1.0.0 // indirect
@@ -142,7 +146,7 @@ require (
142146
github.com/prometheus/common v0.32.1 // indirect
143147
github.com/prometheus/procfs v0.7.3 // indirect
144148
github.com/quasilyte/go-ruleguard v0.4.4 // indirect
145-
github.com/quasilyte/go-ruleguard/dsl v0.3.22 // indirect
149+
github.com/quasilyte/go-ruleguard/dsl v0.3.23 // indirect
146150
github.com/quasilyte/gogrep v0.5.0 // indirect
147151
github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect
148152
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect
@@ -155,24 +159,23 @@ require (
155159
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect
156160
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
157161
github.com/sashamelentyev/usestdlibvars v1.29.0 // indirect
158-
github.com/securego/gosec/v2 v2.22.7 // indirect
162+
github.com/securego/gosec/v2 v2.22.10 // indirect
159163
github.com/sirupsen/logrus v1.9.3 // indirect
160164
github.com/sivchari/containedctx v1.0.3 // indirect
161165
github.com/sonatard/noctx v0.4.0 // indirect
162166
github.com/sourcegraph/go-diff v0.7.0 // indirect
163167
github.com/spf13/afero v1.14.0 // indirect
164168
github.com/spf13/cast v1.5.0 // indirect
165-
github.com/spf13/cobra v1.9.1 // indirect
169+
github.com/spf13/cobra v1.10.1 // indirect
166170
github.com/spf13/jwalterweatherman v1.1.0 // indirect
167-
github.com/spf13/pflag v1.0.7 // indirect
171+
github.com/spf13/pflag v1.0.10 // indirect
168172
github.com/spf13/viper v1.12.0 // indirect
169173
github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect
170174
github.com/stbenjam/no-sprintf-host-port v0.2.0 // indirect
171175
github.com/stretchr/objx v0.5.2 // indirect
172-
github.com/stretchr/testify v1.10.0 // indirect
176+
github.com/stretchr/testify v1.11.1 // indirect
173177
github.com/subosito/gotenv v1.4.1 // indirect
174-
github.com/tdakkota/asciicheck v0.4.1 // indirect
175-
github.com/tetafro/godot v1.5.1 // indirect
178+
github.com/tetafro/godot v1.5.4 // indirect
176179
github.com/timakin/bodyclose v0.0.0-20241222091800-1db5c5ca4d67 // indirect
177180
github.com/timonwong/loggercheck v0.11.0 // indirect
178181
github.com/tomarrell/wrapcheck/v2 v2.11.0 // indirect
@@ -187,24 +190,24 @@ require (
187190
github.com/yeya24/promlinter v0.3.0 // indirect
188191
github.com/ykadowak/zerologlint v0.1.5 // indirect
189192
gitlab.com/bosi/decorder v0.4.2 // indirect
190-
go-simpler.org/musttag v0.13.1 // indirect
193+
go-simpler.org/musttag v0.14.0 // indirect
191194
go-simpler.org/sloglint v0.11.1 // indirect
192-
go.augendre.info/arangolint v0.2.0 // indirect
193-
go.augendre.info/fatcontext v0.8.0 // indirect
195+
go.augendre.info/arangolint v0.3.1 // indirect
196+
go.augendre.info/fatcontext v0.9.0 // indirect
194197
go.uber.org/automaxprocs v1.6.0 // indirect
195198
go.uber.org/multierr v1.10.0 // indirect
196199
go.uber.org/zap v1.27.0 // indirect
197-
golang.org/x/exp/typeparams v0.0.0-20250620022241-b7579e27df2b // indirect
198-
golang.org/x/mod v0.27.0 // indirect
199-
golang.org/x/sync v0.16.0 // indirect
200-
golang.org/x/sys v0.35.0 // indirect
201-
golang.org/x/text v0.27.0 // indirect
202-
golang.org/x/tools v0.36.0 // indirect
203-
google.golang.org/protobuf v1.36.6 // indirect
200+
golang.org/x/exp/typeparams v0.0.0-20251002181428-27f1f14c8bb9 // indirect
201+
golang.org/x/mod v0.29.0 // indirect
202+
golang.org/x/sync v0.17.0 // indirect
203+
golang.org/x/sys v0.37.0 // indirect
204+
golang.org/x/text v0.30.0 // indirect
205+
golang.org/x/tools v0.38.0 // indirect
206+
google.golang.org/protobuf v1.36.8 // indirect
204207
gopkg.in/ini.v1 v1.67.0 // indirect
205208
gopkg.in/yaml.v2 v2.4.0 // indirect
206209
gopkg.in/yaml.v3 v3.0.1 // indirect
207210
honnef.co/go/tools v0.6.1 // indirect
208-
mvdan.cc/gofumpt v0.8.0 // indirect
209-
mvdan.cc/unparam v0.0.0-20250301125049-0df0534333a4 // indirect
211+
mvdan.cc/gofumpt v0.9.2 // indirect
212+
mvdan.cc/unparam v0.0.0-20251027182757-5beb8c8f8f15 // indirect
210213
)

0 commit comments

Comments
 (0)