dev: sync checker with x/[email protected] #8593
pr.yml
on: pull_request
golangci-lint
1m 40s
go-mod
10s
check_generated
47s
Matrix: Installation script (local)
Matrix: tests-on-unix
Annotations
7 errors and 4 warnings
golangci-lint:
internal/x/tools/analysisflags/url.go#L16
hugeParam: d is heavy (112 bytes); consider passing it by pointer (gocritic)
|
golangci-lint:
pkg/goanalysis/runner_checker.go#L72
cyclomatic complexity 16 of func `(*action).analyze` is high (> 15) (gocyclo)
|
golangci-lint:
internal/x/tools/analysisinternal/analysis.go#L5
`analyses` is a misspelling of `analyzes` (misspell)
|
golangci-lint:
pkg/goanalysis/runner_checker.go#L114
unnecessary trailing newline (whitespace)
|
golangci-lint:
internal/x/tools/analysisflags/url.go#L26
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
golangci-lint:
internal/x/tools/analysisflags/url.go#L30
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
golangci-lint
issues found
|
Installation script (local) (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
go-mod
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
check_generated
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
golangci-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|