chore(deps): bump the gomod group with 9 updates #14
lint.yaml
on: pull_request
lint-go
2m 8s
lint-actions
1m 31s
Annotations
10 errors
|
lint-go:
cmd/main.go#L248
Error return value of `c.AddFunc` is not checked (errcheck)
|
|
lint-go:
cmd/main.go#L255
Error return value of `c.AddFunc` is not checked (errcheck)
|
|
lint-go:
internal/handlers/unidler/handler.go#L121
Error return value of `tmpl.ExecuteTemplate` is not checked (errcheck)
|
|
lint-go:
internal/handlers/unidler/handler.go#L157
Error return value of `tmpl.ExecuteTemplate` is not checked (errcheck)
|
|
lint-go:
internal/handlers/unidler/unidler.go#L189
Error return value of `wait.PollUntilContextTimeout` is not checked (errcheck)
|
|
lint-go:
cmd/main.go#L158
exitAfterDefer: os.Exit will exit, and `defer file.Close()` will not run (gocritic)
|
|
lint-go:
internal/handlers/idler/cli.go#L45
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
|
lint-go:
internal/handlers/idler/service-kubernetes.go#L87
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
|
lint-go:
internal/handlers/idler/service-kubernetes.go#L147
assignOp: replace `numHits = numHits + hits` with `numHits += hits` (gocritic)
|
|
lint-go:
internal/handlers/idler/service.go#L66
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|