Skip to content

run golangci-lint on the entire codebase on every pr #17

run golangci-lint on the entire codebase on every pr

run golangci-lint on the entire codebase on every pr #17

Triggered via pull request May 13, 2024 04:55
Status Failure
Total duration 56s
Artifacts

ci.yml

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

Annotations

10 errors and 1 warning
test (stable, ubuntu-latest): pkg/db/db.go#L100
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
test (stable, ubuntu-latest): pkg/db/db.go#L126
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
test (stable, ubuntu-latest): pkg/ui/delegate.go#L27
Error return value of `p.LaunchRenderer` is not checked (errcheck)
test (stable, ubuntu-latest): pkg/ui/interactiveTable.go#L42
Error return value of `p.LaunchRenderer` is not checked (errcheck)
test (stable, ubuntu-latest): pkg/ui/statusTable.go#L37
`initialised` is a misspelling of `initialized` (misspell)
test (stable, ubuntu-latest): pkg/ui/tui.go#L95
unchecked-type-assertion: type cast result is unchecked in d.([]item) - type assertion result ignored (revive)
test (stable, ubuntu-latest): pkg/ui/delegate.go#L17
early-return: if c { ... } else { ... return } can be simplified to if !c { ... return } ... (move short variable declaration to its own line if necessary) (revive)
test (stable, ubuntu-latest): pkg/ui/delegate.go#L23
unnecessary-stmt: switch with only one case can be replaced by an if-then (revive)
test (stable, ubuntu-latest): pkg/ui/statusTable.go#L18
unexported-naming: the symbol TableData is local, its name should start with a lowercase letter (revive)
test (stable, ubuntu-latest): pkg/ui/interactiveTable.go#L25
unused-receiver: method receiver 'm' is not referenced in method's body, consider removing or renaming it as _ (revive)
test (stable, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/pman/pman. Supported file pattern: go.sum