Skip to content

Commit 8e1d5f4

Browse files
build(deps): bump golang.org/x/tools from 0.29.0 to 0.30.0 (#5389)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent 1b50df3 commit 8e1d5f4

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

.golangci.next.reference.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1846,7 +1846,7 @@ linters-settings:
18461846
- sortslice
18471847
# Check signature of methods of well-known interfaces.
18481848
- stdmethods
1849-
# Check for uses of too-new standard library symbols.
1849+
# Report uses of too-new standard library symbols.
18501850
- stdversion
18511851
# Check for string(int) conversions.
18521852
- stringintconv
@@ -1868,7 +1868,7 @@ linters-settings:
18681868
- unusedresult
18691869
# Checks for unused writes.
18701870
- unusedwrite
1871-
# Checks for misuses of sync.WaitGroup.
1871+
# Check for misuses of sync.WaitGroup.
18721872
- waitgroup
18731873

18741874
# Enable all analyzers.
@@ -1913,6 +1913,7 @@ linters-settings:
19131913
- slog
19141914
- sortslice
19151915
- stdmethods
1916+
- stdversion
19161917
- stringintconv
19171918
- structtag
19181919
- testinggoroutine
@@ -1923,6 +1924,7 @@ linters-settings:
19231924
- unsafeptr
19241925
- unusedresult
19251926
- unusedwrite
1927+
- waitgroup
19261928

19271929
# Settings per analyzer.
19281930
settings:

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ require (
129129
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0
130130
golang.org/x/mod v0.23.0
131131
golang.org/x/sys v0.30.0
132-
golang.org/x/tools v0.29.0
132+
golang.org/x/tools v0.30.0
133133
gopkg.in/yaml.v3 v3.0.1
134134
honnef.co/go/tools v0.5.1
135135
mvdan.cc/gofumpt v0.7.0
@@ -197,7 +197,7 @@ require (
197197
go.uber.org/multierr v1.6.0 // indirect
198198
go.uber.org/zap v1.24.0 // indirect
199199
golang.org/x/exp/typeparams v0.0.0-20241108190413-2d47ceb2692f // indirect
200-
golang.org/x/sync v0.10.0 // indirect
200+
golang.org/x/sync v0.11.0 // indirect
201201
golang.org/x/text v0.21.0 // indirect
202202
google.golang.org/protobuf v1.36.1 // indirect
203203
gopkg.in/ini.v1 v1.67.0 // indirect

go.sum

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/govet/testdata/fix/in/govet.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ type Foo struct {
1818
}
1919

2020
func nonConstantFormat(s string) {
21-
fmt.Printf(s)
21+
fmt.Printf("%s", s)
2222
fmt.Printf(s, "arg")
23-
fmt.Fprintf(os.Stderr, s)
24-
log.Printf(s)
23+
fmt.Fprintf(os.Stderr, "%s", s)
24+
log.Printf("%s", s)
2525
}

0 commit comments

Comments
 (0)