Skip to content

chore(build): add golangci-lint to the pipeline as a non-blocking step #10

chore(build): add golangci-lint to the pipeline as a non-blocking step

chore(build): add golangci-lint to the pipeline as a non-blocking step #10

Triggered via pull request October 17, 2024 20:19
Status Failure
Total duration 1m 38s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: src/internal/tui/common/styles.go#L14
const `width` is unused (unused)
lint: src/internal/tui/common/styles.go#L16
const `columnWidth` is unused (unused)
lint: src/internal/tui/common/styles.go#L18
const `modalWidth` is unused (unused)
lint: src/internal/tui/common/styles.go#L19
const `modalHeight` is unused (unused)
lint: src/internal/tui/assessment_results/types.go#L21
field `compareResultIndex` is unused (unused)
lint: src/pkg/common/oscal/assessment-results.go#L216
func `findAndSortResults` is unused (unused)
lint: src/pkg/message/message.go#L156
printf: non-constant format string in call to github.com/defenseunicorns/lula/src/pkg/message.Warnf (govet)
lint: src/pkg/message/message.go#L264
printf: non-constant format string in call to (*github.com/pterm/pterm.HeaderPrinter).Printfln (govet)
lint: src/pkg/message/spinner.go#L116
printf: non-constant format string in call to (*github.com/defenseunicorns/lula/src/pkg/message.Spinner).Successf (govet)
lint: src/pkg/message/spinner.go#L148
printf: non-constant format string in call to (*github.com/defenseunicorns/lula/src/pkg/message.Spinner).Fatalf (govet)