add boilerplates and ci jobs for lint #1
style.yaml
on: pull_request
check gofmt
13s
check goimports
19s
golangci-lint
2m 33s
Lint
40s
Annotations
10 errors
golangci-lint:
pkg/action/action.go#L10
could not import github.com/hillu/go-yara/v4 (-: go build github.com/hillu/go-yara/v4:
|
golangci-lint:
pkg/action/action.go#L14
undefined: yara (typecheck)
|
golangci-lint:
pkg/action/scan.go#L42
undefined: yara (typecheck)
|
golangci-lint:
pkg/action/scan.go#L43
undefined: yara (typecheck)
|
golangci-lint:
pkg/render/terminal.go#L141
calculated cyclomatic complexity for function renderTable is 39, max is 37 (cyclop)
|
golangci-lint:
pkg/report/report.go#L20
could not import github.com/hillu/go-yara/v4 (-: go build github.com/hillu/go-yara/v4:
|
golangci-lint:
pkg/report/report.go#L191
undefined: yara (typecheck)
|
golangci-lint:
pkg/report/report.go#L212
undefined: yara (typecheck)
|
golangci-lint:
pkg/report/report.go#L247
undefined: yara (typecheck)
|
golangci-lint:
pkg/report/report.go#L273
undefined: yara (typecheck)
|