Skip to content

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

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 #8

Triggered via pull request October 17, 2024 16:24
Status Failure
Total duration 1m 47s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: src/pkg/common/validation-store/validation-store.go#L115
printf: non-constant format string in call to github.com/defenseunicorns/lula/src/pkg/message.NewProgressSpinner (govet)
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)
lint: src/internal/tui/assessment_results/types.go#L21
field `compareResultIndex` is unused (unused)
lint: src/pkg/common/network/network.go#L4
G501: Blocklisted import crypto/md5: weak cryptographic primitive (gosec)
lint: src/pkg/common/network/network.go#L5
G505: Blocklisted import crypto/sha1: weak cryptographic primitive (gosec)
lint: src/pkg/common/network/network.go#L182
G401: Use of weak cryptographic primitive (gosec)
lint: src/pkg/common/network/network.go#L185
G401: Use of weak cryptographic primitive (gosec)