Skip to content

Migrate to GitHubAction for GolangCI Lint #3

Migrate to GitHubAction for GolangCI Lint

Migrate to GitHubAction for GolangCI Lint #3

Triggered via pull request January 15, 2025 17:56
Status Failure
Total duration 3m 41s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
lint: pkg/api/server/cel2sql/interpreter.go#L94
G115: integer overflow conversion int -> int32 (gosec)
lint: pkg/api/server/v1alpha2/plugin/plugin_logs.go#L175
G115: integer overflow conversion uint -> int (gosec)
lint: pkg/api/server/v1alpha2/plugin/server.go#L103
G115: integer overflow conversion uint -> int64 (gosec)
lint: pkg/api/server/db/pagination/pagination.go#L74
redefines-builtin-id: redefinition of the built-in function min (revive)
lint: pkg/api/server/v1alpha2/ordering_test.go#L28
printf: non-constant format string in call to (*testing.common).Errorf (govet)
lint: pkg/api/server/v1alpha2/ordering_test.go#L73
printf: non-constant format string in call to (*testing.common).Errorf (govet)
lint: pkg/api/server/v1alpha2/log/s3.go#L144
printf: non-constant format string in call to fmt.Errorf (govet)
lint: pkg/api/server/v1alpha2/log/s3.go#L152
printf: non-constant format string in call to fmt.Errorf (govet)
lint
issues found
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636