Skip to content

Add additional generic components and helpers #1149

Add additional generic components and helpers

Add additional generic components and helpers #1149

Triggered via pull request January 21, 2025 23:22
Status Failure
Total duration 6m 13s
Artifacts

main.yaml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Lint: component/internal/tabwriter/tabwriter.go#L571
cyclomatic complexity 18 of func `(*Writer).Write` is high (> 15) (gocyclo)
Lint: component/characters/spaces.go#L10
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
Lint: component/internal/tabwriter/tabwriter.go#L253
func `(*Writer).dump` is unused (unused)
Lint: component/internal/tabwriter/tabwriter.go#L626
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
Lint: component/internal/tabwriter/tabwriter.go#L317
paramTypeCombine: func(pos0 int, line0, line1 int) (pos int) could be replaced with func(pos0, line0, line1 int) (pos int) (gocritic)
Lint: component/internal/tabwriter/tabwriter.go#L376
paramTypeCombine: func(pos0 int, line0, line1 int) (pos int) could be replaced with func(pos0, line0, line1 int) (pos int) (gocritic)
Lint: component/internal/tabwriter/tabwriter.go#L514
ptrToRefParam: consider `err' to be of non-pointer type (gocritic)
Lint: command/extend_test.go#L130
printf: non-constant format string in call to fmt.Errorf (govet)
Lint: command/extend_test.go#L142
printf: non-constant format string in call to fmt.Errorf (govet)
Lint: component/internal/tabwriter/tabwriter.go#L369
naked return in func `writeLines` with 53 lines of code (nakedret)
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test-1.22.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test-1.23.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636