Skip to content

Commit 39fe853

Browse files
Bump the all-dependencies group with 4 updates (#44)
* Bump the all-dependencies group with 4 updates Bumps the all-dependencies group with 4 updates: [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint), [github.com/stretchr/testify](https://github.com/stretchr/testify), [golang.org/x/tools](https://github.com/golang/tools) and google.golang.org/protobuf. Updates `github.com/golangci/golangci-lint` from 1.61.0 to 1.62.2 - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md) - [Commits](golangci/golangci-lint@v1.61.0...v1.62.2) Updates `github.com/stretchr/testify` from 1.9.0 to 1.10.0 - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](stretchr/testify@v1.9.0...v1.10.0) Updates `golang.org/x/tools` from 0.26.0 to 0.27.0 - [Release notes](https://github.com/golang/tools/releases) - [Commits](golang/tools@v0.26.0...v0.27.0) Updates `google.golang.org/protobuf` from 1.35.1 to 1.36.1 --- updated-dependencies: - dependency-name: github.com/golangci/golangci-lint dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: golang.org/x/tools dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: google.golang.org/protobuf dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * update linter config --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ben Wakeford <ben.jz.wakeford@gmail.com>
1 parent b7fc766 commit 39fe853

File tree

3 files changed

+175
-167
lines changed

3 files changed

+175
-167
lines changed

Diff for: .golangci.yml

+46-46
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
11
run:
2-
go: "1.21"
2+
go: "1.22"
33
linters:
44
enable:
5-
- govet # https://pkg.go.dev/cmd/vet
6-
- asciicheck # https://github.com/tdakkota/asciicheck
7-
- bidichk # https://github.com/breml/bidichk
8-
- bodyclose # https://github.com/timakin/bodyclose
9-
- containedctx # https://github.com/sivchari/containedctx
10-
- durationcheck # https://github.com/charithe/durationcheck
11-
- errname # https://github.com/Antonboom/errname
12-
- errorlint # https://github.com/polyfloyd/go-errorlint
13-
- forcetypeassert # https://github.com/gostaticanalysis/forcetypeassert
14-
- goconst # https://github.com/jgautheron/goconst
15-
- testpackage # https://github.com/maratori/testpackage
16-
- gomnd # https://github.com/tommy-muehle/go-mnd
17-
- makezero # https://github.com/ashanbrown/makezero
18-
- nilerr # https://github.com/gostaticanalysis/nilerr
19-
- nilnil # https://github.com/Antonboom/nilnil
20-
- nlreturn # https://github.com/ssgreg/nlreturn
21-
- prealloc # https://github.com/alexkohler/prealloc
22-
- predeclared # https://github.com/nishanths/predeclared
23-
- rowserrcheck # https://github.com/jingyugao/rowserrcheck
24-
- sqlclosecheck # https://github.com/ryanrolds/sqlclosecheck
25-
- tenv # https://github.com/sivchari/tenv
26-
- unconvert # https://github.com/mdempsky/unconvert
27-
- unparam # https://github.com/mvdan/unparam
28-
- wastedassign # https://github.com/sanposhiho/wastedassign
29-
- whitespace # https://github.com/ultraware/whitespace
30-
- nolintlint # https://github.com/golangci/golangci-lint/blob/master/pkg/golinters/nolintlint
31-
- tparallel # https://github.com/moricho/tparallel
32-
- cyclop # https://golangci-lint.run/usage/linters/#cyclop
33-
- gocyclo # https://github.com/fzipp/gocyclo
34-
- gocognit # https://github.com/uudashr/gocognit
35-
- godot # https://github.com/tetafro/godot
36-
- gocritic # https://github.com/go-critic/go-critic
37-
- misspell # https://github.com/client9/misspell
38-
- nakedret # https://github.com/alexkohler/nakedret
39-
- nestif # https://github.com/nakabonne/nestif
40-
- dogsled # https://github.com/alexkohler/dogsled
41-
- exportloopref # https://github.com/kyoh86/exportloopref
42-
- dupword # https://github.com/Abirdcfly/dupword
43-
- gochecknoinits # https://github.com/leighmcculloch/gochecknoinits
44-
- gosec # https://github.com/securego/gosec
45-
- tagliatelle # https://github.com/ldez/tagliatelle
46-
- nosprintfhostport # https://github.com/stbenjam/no-sprintf-host-port
47-
- funlen # https://github.com/ultraware/funlen
48-
- revive # https://golangci-lint.run/usage/linters/#revive
49-
- exhaustive # https://github.com/nishanths/exhaustive
5+
- govet
6+
- asciicheck
7+
- bidichk
8+
- bodyclose
9+
- containedctx
10+
- durationcheck
11+
- errname
12+
- errorlint
13+
- forcetypeassert
14+
- goconst
15+
- testpackage
16+
- mnd
17+
- makezero
18+
- nilerr
19+
- nilnil
20+
- nlreturn
21+
- prealloc
22+
- predeclared
23+
- rowserrcheck
24+
- sqlclosecheck
25+
- tenv
26+
- unconvert
27+
- unparam
28+
- wastedassign
29+
- whitespace
30+
- nolintlint
31+
- tparallel
32+
- cyclop
33+
- gocyclo
34+
- gocognit
35+
- godot
36+
- gocritic
37+
- misspell
38+
- nakedret
39+
- nestif
40+
- dogsled
41+
- exportloopref
42+
- dupword
43+
- gochecknoinits
44+
- gosec
45+
- tagliatelle
46+
- nosprintfhostport
47+
- funlen
48+
- revive
49+
- exhaustive
5050

5151
linters-settings:
5252
nestif:

Diff for: go.mod

+42-39
Original file line numberDiff line numberDiff line change
@@ -3,72 +3,73 @@ module github.com/wafer-bw/whatsmyip
33
go 1.22.4
44

55
require (
6-
github.com/golangci/golangci-lint v1.61.0
6+
github.com/golangci/golangci-lint v1.62.2
77
github.com/gorilla/mux v1.8.1
8-
github.com/stretchr/testify v1.9.0
9-
golang.org/x/tools v0.26.0
10-
google.golang.org/protobuf v1.35.1
8+
github.com/stretchr/testify v1.10.0
9+
golang.org/x/tools v0.27.0
10+
google.golang.org/protobuf v1.36.1
1111
)
1212

1313
require (
1414
4d63.com/gocheckcompilerdirectives v1.2.1 // indirect
1515
4d63.com/gochecknoglobals v0.2.1 // indirect
1616
github.com/4meepo/tagalign v1.3.4 // indirect
17-
github.com/Abirdcfly/dupword v0.1.1 // indirect
18-
github.com/Antonboom/errname v0.1.13 // indirect
19-
github.com/Antonboom/nilnil v0.1.9 // indirect
20-
github.com/Antonboom/testifylint v1.4.3 // indirect
17+
github.com/Abirdcfly/dupword v0.1.3 // indirect
18+
github.com/Antonboom/errname v1.0.0 // indirect
19+
github.com/Antonboom/nilnil v1.0.0 // indirect
20+
github.com/Antonboom/testifylint v1.5.2 // indirect
2121
github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c // indirect
22-
github.com/Crocmagnon/fatcontext v0.5.2 // indirect
22+
github.com/Crocmagnon/fatcontext v0.5.3 // indirect
2323
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect
2424
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.0 // indirect
2525
github.com/Masterminds/semver/v3 v3.3.0 // indirect
2626
github.com/OpenPeeDeeP/depguard/v2 v2.2.0 // indirect
27-
github.com/alecthomas/go-check-sumtype v0.1.4 // indirect
28-
github.com/alexkohler/nakedret/v2 v2.0.4 // indirect
27+
github.com/alecthomas/go-check-sumtype v0.2.0 // indirect
28+
github.com/alexkohler/nakedret/v2 v2.0.5 // indirect
2929
github.com/alexkohler/prealloc v1.0.0 // indirect
3030
github.com/alingse/asasalint v0.0.11 // indirect
3131
github.com/ashanbrown/forbidigo v1.6.0 // indirect
3232
github.com/ashanbrown/makezero v1.1.1 // indirect
3333
github.com/beorn7/perks v1.0.1 // indirect
34-
github.com/bkielbasa/cyclop v1.2.1 // indirect
34+
github.com/bkielbasa/cyclop v1.2.3 // indirect
3535
github.com/blizzy78/varnamelen v0.8.0 // indirect
3636
github.com/bombsimon/wsl/v4 v4.4.1 // indirect
37-
github.com/breml/bidichk v0.2.7 // indirect
38-
github.com/breml/errchkjson v0.3.6 // indirect
37+
github.com/breml/bidichk v0.3.2 // indirect
38+
github.com/breml/errchkjson v0.4.0 // indirect
3939
github.com/butuzov/ireturn v0.3.0 // indirect
4040
github.com/butuzov/mirror v1.2.0 // indirect
4141
github.com/catenacyber/perfsprint v0.7.1 // indirect
4242
github.com/ccojocar/zxcvbn-go v1.0.2 // indirect
4343
github.com/cespare/xxhash/v2 v2.1.2 // indirect
4444
github.com/charithe/durationcheck v0.0.10 // indirect
4545
github.com/chavacava/garif v0.1.0 // indirect
46-
github.com/ckaznocha/intrange v0.2.0 // indirect
46+
github.com/ckaznocha/intrange v0.2.1 // indirect
4747
github.com/curioswitch/go-reassign v0.2.0 // indirect
4848
github.com/daixiang0/gci v0.13.5 // indirect
4949
github.com/davecgh/go-spew v1.1.1 // indirect
5050
github.com/denis-tingaikin/go-header v0.5.0 // indirect
5151
github.com/ettle/strcase v0.2.0 // indirect
52-
github.com/fatih/color v1.17.0 // indirect
52+
github.com/fatih/color v1.18.0 // indirect
5353
github.com/fatih/structtag v1.2.0 // indirect
5454
github.com/firefart/nonamedreturns v1.0.5 // indirect
5555
github.com/fsnotify/fsnotify v1.5.4 // indirect
5656
github.com/fzipp/gocyclo v0.6.0 // indirect
57-
github.com/ghostiam/protogetter v0.3.6 // indirect
58-
github.com/go-critic/go-critic v0.11.4 // indirect
57+
github.com/ghostiam/protogetter v0.3.8 // indirect
58+
github.com/go-critic/go-critic v0.11.5 // indirect
5959
github.com/go-toolsmith/astcast v1.1.0 // indirect
6060
github.com/go-toolsmith/astcopy v1.1.0 // indirect
6161
github.com/go-toolsmith/astequal v1.2.0 // indirect
6262
github.com/go-toolsmith/astfmt v1.1.0 // indirect
6363
github.com/go-toolsmith/astp v1.1.0 // indirect
6464
github.com/go-toolsmith/strparse v1.1.0 // indirect
6565
github.com/go-toolsmith/typep v1.1.0 // indirect
66-
github.com/go-viper/mapstructure/v2 v2.1.0 // indirect
66+
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
6767
github.com/go-xmlfmt/xmlfmt v1.1.2 // indirect
6868
github.com/gobwas/glob v0.2.3 // indirect
6969
github.com/gofrs/flock v0.12.1 // indirect
7070
github.com/golang/protobuf v1.5.3 // indirect
7171
github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a // indirect
72+
github.com/golangci/go-printf-func-name v0.1.0 // indirect
7273
github.com/golangci/gofmt v0.0.0-20240816233607-d8596aa466a9 // indirect
7374
github.com/golangci/misspell v0.6.0 // indirect
7475
github.com/golangci/modinfo v0.3.4 // indirect
@@ -87,42 +88,40 @@ require (
8788
github.com/inconshreveable/mousetrap v1.1.0 // indirect
8889
github.com/jgautheron/goconst v1.7.1 // indirect
8990
github.com/jingyugao/rowserrcheck v1.1.1 // indirect
90-
github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af // indirect
9191
github.com/jjti/go-spancheck v0.6.2 // indirect
9292
github.com/julz/importas v0.1.0 // indirect
9393
github.com/karamaru-alpha/copyloopvar v1.1.0 // indirect
94-
github.com/kisielk/errcheck v1.7.0 // indirect
94+
github.com/kisielk/errcheck v1.8.0 // indirect
9595
github.com/kkHAIKE/contextcheck v1.1.5 // indirect
9696
github.com/kulti/thelper v0.6.3 // indirect
9797
github.com/kunwardeep/paralleltest v1.0.10 // indirect
9898
github.com/kyoh86/exportloopref v0.1.11 // indirect
99-
github.com/lasiar/canonicalheader v1.1.1 // indirect
99+
github.com/lasiar/canonicalheader v1.1.2 // indirect
100100
github.com/ldez/gomoddirectives v0.2.4 // indirect
101101
github.com/ldez/tagliatelle v0.5.0 // indirect
102102
github.com/leonklingele/grouper v1.1.2 // indirect
103-
github.com/lufeee/execinquery v1.2.1 // indirect
104103
github.com/macabu/inamedparam v0.1.3 // indirect
105104
github.com/magiconair/properties v1.8.6 // indirect
106105
github.com/maratori/testableexamples v1.0.0 // indirect
107106
github.com/maratori/testpackage v1.1.1 // indirect
108107
github.com/matoous/godox v0.0.0-20230222163458-006bad1f9d26 // indirect
109108
github.com/mattn/go-colorable v0.1.13 // indirect
110109
github.com/mattn/go-isatty v0.0.20 // indirect
111-
github.com/mattn/go-runewidth v0.0.9 // indirect
110+
github.com/mattn/go-runewidth v0.0.16 // indirect
112111
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
113-
github.com/mgechev/revive v1.3.9 // indirect
112+
github.com/mgechev/revive v1.5.1 // indirect
114113
github.com/mitchellh/go-homedir v1.1.0 // indirect
115114
github.com/mitchellh/mapstructure v1.5.0 // indirect
116115
github.com/moricho/tparallel v0.3.2 // indirect
117116
github.com/nakabonne/nestif v0.3.1 // indirect
118117
github.com/nishanths/exhaustive v0.12.0 // indirect
119118
github.com/nishanths/predeclared v0.2.2 // indirect
120-
github.com/nunnatsa/ginkgolinter v0.16.2 // indirect
119+
github.com/nunnatsa/ginkgolinter v0.18.3 // indirect
121120
github.com/olekukonko/tablewriter v0.0.5 // indirect
122121
github.com/pelletier/go-toml v1.9.5 // indirect
123122
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
124123
github.com/pmezard/go-difflib v1.0.0 // indirect
125-
github.com/polyfloyd/go-errorlint v1.6.0 // indirect
124+
github.com/polyfloyd/go-errorlint v1.7.0 // indirect
126125
github.com/prometheus/client_golang v1.12.1 // indirect
127126
github.com/prometheus/client_model v0.2.0 // indirect
128127
github.com/prometheus/common v0.32.1 // indirect
@@ -132,18 +131,21 @@ require (
132131
github.com/quasilyte/gogrep v0.5.0 // indirect
133132
github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect
134133
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect
134+
github.com/raeperd/recvcheck v0.1.2 // indirect
135+
github.com/rivo/uniseg v0.4.7 // indirect
136+
github.com/rogpeppe/go-internal v1.13.1 // indirect
135137
github.com/ryancurrah/gomodguard v1.3.5 // indirect
136138
github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect
137139
github.com/sanposhiho/wastedassign/v2 v2.0.7 // indirect
138140
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
139141
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
140142
github.com/sashamelentyev/usestdlibvars v1.27.0 // indirect
141-
github.com/securego/gosec/v2 v2.21.2 // indirect
143+
github.com/securego/gosec/v2 v2.21.4 // indirect
142144
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c // indirect
143145
github.com/sirupsen/logrus v1.9.3 // indirect
144146
github.com/sivchari/containedctx v1.0.3 // indirect
145-
github.com/sivchari/tenv v1.10.0 // indirect
146-
github.com/sonatard/noctx v0.0.2 // indirect
147+
github.com/sivchari/tenv v1.12.1 // indirect
148+
github.com/sonatard/noctx v0.1.0 // indirect
147149
github.com/sourcegraph/go-diff v0.7.0 // indirect
148150
github.com/spf13/afero v1.11.0 // indirect
149151
github.com/spf13/cast v1.5.0 // indirect
@@ -156,30 +158,31 @@ require (
156158
github.com/stretchr/objx v0.5.2 // indirect
157159
github.com/subosito/gotenv v1.4.1 // indirect
158160
github.com/tdakkota/asciicheck v0.2.0 // indirect
159-
github.com/tetafro/godot v1.4.17 // indirect
161+
github.com/tetafro/godot v1.4.18 // indirect
160162
github.com/timakin/bodyclose v0.0.0-20230421092635-574207250966 // indirect
161-
github.com/timonwong/loggercheck v0.9.4 // indirect
163+
github.com/timonwong/loggercheck v0.10.1 // indirect
162164
github.com/tomarrell/wrapcheck/v2 v2.9.0 // indirect
163165
github.com/tommy-muehle/go-mnd/v2 v2.5.1 // indirect
164166
github.com/ultraware/funlen v0.1.0 // indirect
165167
github.com/ultraware/whitespace v0.1.1 // indirect
166168
github.com/uudashr/gocognit v1.1.3 // indirect
169+
github.com/uudashr/iface v1.2.1 // indirect
167170
github.com/xen0n/gosmopolitan v1.2.2 // indirect
168171
github.com/yagipy/maintidx v1.0.0 // indirect
169172
github.com/yeya24/promlinter v0.3.0 // indirect
170173
github.com/ykadowak/zerologlint v0.1.5 // indirect
171174
gitlab.com/bosi/decorder v0.4.2 // indirect
172-
go-simpler.org/musttag v0.12.2 // indirect
175+
go-simpler.org/musttag v0.13.0 // indirect
173176
go-simpler.org/sloglint v0.7.2 // indirect
174177
go.uber.org/atomic v1.7.0 // indirect
175-
go.uber.org/automaxprocs v1.5.3 // indirect
178+
go.uber.org/automaxprocs v1.6.0 // indirect
176179
go.uber.org/multierr v1.6.0 // indirect
177180
go.uber.org/zap v1.24.0 // indirect
178-
golang.org/x/exp v0.0.0-20240904232852-e7e105dedf7e // indirect
179-
golang.org/x/exp/typeparams v0.0.0-20240314144324-c7f7c6466f7f // indirect
180-
golang.org/x/mod v0.21.0 // indirect
181-
golang.org/x/sync v0.8.0 // indirect
182-
golang.org/x/sys v0.26.0 // indirect
181+
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect
182+
golang.org/x/exp/typeparams v0.0.0-20241108190413-2d47ceb2692f // indirect
183+
golang.org/x/mod v0.22.0 // indirect
184+
golang.org/x/sync v0.9.0 // indirect
185+
golang.org/x/sys v0.27.0 // indirect
183186
golang.org/x/text v0.18.0 // indirect
184187
gopkg.in/ini.v1 v1.67.0 // indirect
185188
gopkg.in/yaml.v2 v2.4.0 // indirect

0 commit comments

Comments
 (0)