Skip to content

Commit 91f4f26

Browse files
committed
review
1 parent 07e0213 commit 91f4f26

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.golangci.next.reference.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4129,7 +4129,7 @@ output:
41294129

41304130
# Options for analysis running.
41314131
run:
4132-
# Timeout for analysis, e.g. 30s, 5m.
4132+
# Timeout for total work, e.g. 30s, 5m.
41334133
# If the value is lower or equal to 0, the timeout is disabled.
41344134
# Default: 0 (disabled)
41354135
timeout: 5m
@@ -4181,13 +4181,12 @@ run:
41814181
allow-serial-runners: true
41824182

41834183
# Define the Go version limit.
4184-
# Mainly related to generics support since go1.18.
41854184
# Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.22.
4186-
go: '1.22'
4185+
go: '1.23'
41874186

41884187
# Number of operating system threads (`GOMAXPROCS`) that can execute golangci-lint simultaneously.
4189-
# Default: automatically set to match Linux container CPU quota and
4190-
# fall back to the number of logical CPUs in the machine.
4188+
# Default: 0 (automatically set to match Linux container CPU quota and
4189+
# fall back to the number of logical CPUs in the machine)
41914190
concurrency: 4
41924191

41934192

pkg/commands/flagsets.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ func setupFormattersFlagSet(v *viper.Viper, fs *pflag.FlagSet) {
4343

4444
func setupRunFlagSet(v *viper.Viper, fs *pflag.FlagSet) {
4545
internal.AddFlagAndBindP(v, fs, fs.IntP, "concurrency", "j", "run.concurrency", 0,
46-
color.GreenString("Number of CPUs to use (Default: Automatically set to match Linux container CPU quota,"+
47-
" fall backs on number of logical CPUs)"))
46+
color.GreenString("Number of CPUs to use (Default: Automatically set to match Linux container CPU quota"+
47+
" and fall back to the number of logical CPUs in the machine)"))
4848

4949
internal.AddFlagAndBind(v, fs, fs.String, "modules-download-mode", "run.modules-download-mode", "",
5050
color.GreenString("Modules download mode. If not empty, passed as -mod=<mode> to go tools"))

0 commit comments

Comments
 (0)