Skip to content

dev: sync checker with x/[email protected]

dev: sync checker with x/[email protected] #8593

Triggered via pull request December 7, 2024 00:42
Status Failure
Total duration 1m 51s
Artifacts

pr.yml

on: pull_request
go-mod
10s
go-mod
check_generated
47s
check_generated
Matrix: Installation script (local)
tests-on-windows
0s
tests-on-windows
tests-on-macos
0s
tests-on-macos
commands
0s
commands
Matrix: tests-on-unix
Fit to window
Zoom out
Zoom in

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