Skip to content

fix(ci): make lint happy #462

fix(ci): make lint happy

fix(ci): make lint happy #462

Triggered via push October 12, 2024 14:54
Status Failure
Total duration 36s
Artifacts

go-vet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: example/shell/shell.go#L23
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: example/shell/shell.go#L24
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: example/shell/shell.go#L25
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: context.go#L129
captLocal: `Type' should not be capitalized (gocritic)
lint: event_channel.go#L12
captLocal: `Type' should not be capitalized (gocritic)
lint: event_channel.go#L22
captLocal: `Type' should not be capitalized (gocritic)
lint: utils/async/async.go#L23
exported: type name will be used as async.AsyncResult by other packages, and that stutters; consider calling this Result (revive)
lint: extension/filter/filter.go#L12
exported: type name will be used as filter.FilterFunc by other packages, and that stutters; consider calling this Func (revive)
lint: extension/filter/filter.go#L57
unexported-return: exported func Field returns unexported type *filter.field, which can be annoying to use (revive)
lint: message/cqcode.go#L21
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/ZeroBot/ZeroBot. Supported file pattern: go.sum
CI
Restore cache failed: Dependencies file is not found in /home/runner/work/ZeroBot/ZeroBot. Supported file pattern: go.sum