add boilerplates and ci jobs for lint #4
style.yaml
on: pull_request
check gofmt
16s
check goimports
23s
golangci-lint
15s
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)
|