Skip to content

chore: performance and linting #1

chore: performance and linting

chore: performance and linting #1

Triggered via push September 13, 2025 08:33
Status Failure
Total duration 47s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Test
Process completed with exit code 2.
lint: spruce/spruce.go#L63
error returned from external package is unwrapped: sig: func (*github.com/go-git/go-git/v5.Repository).Branches() (github.com/go-git/go-git/v5/plumbing/storer.ReferenceIter, error) (wrapcheck)
lint: spruce/spruce.go#L54
error returned from external package is unwrapped: sig: func (*github.com/go-git/go-git/v5.Repository).Fetch(o *github.com/go-git/go-git/v5.FetchOptions) error (wrapcheck)
lint: spruce/spruce.go#L45
var typeName is unused (unused)
lint: spruce/spruce.go#L34
Line contains TODO/BUG/FIXME: "TODO anything stringable" (godox)
lint: cmd/root.go#L198
parameter name 'br' is too short for the scope of its usage (varnamelen)
lint: cmd/root.go#L192
variable name 'wg' is too short for the scope of its usage (varnamelen)
lint: cmd/root.go#L185
File is not properly formatted (golines)
lint: cmd/root.go#L160
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: cmd/root.go#L87
Error return value of `(*github.com/spf13/pflag.FlagSet).GetString` is not checked (errcheck)
lint: cmd/root.go#L76
cognitive complexity 16 of func `execute` is high (> 15) (gocognit)