Add new workflow for static analysis checks & address lint errors #2
Annotations
10 errors
run:
pkg/encoding/encoding.go#L253
Error return value of `json.Unmarshal` is not checked (errcheck)
|
run:
pkg/encoding/encoding.go#L267
Error return value of `yaml.Unmarshal` is not checked (errcheck)
|
run:
pkg/encoding/scheme.go#L102
Error return value is not checked (errcheck)
|
run:
pkg/encoding/scheme.go#L104
Error return value is not checked (errcheck)
|
run:
pkg/encoding/scheme.go#L105
Error return value is not checked (errcheck)
|
run:
pkg/data/data.go#L40
var `consistentIndexKeyName` is unused (unused)
|
run:
pkg/data/data.go#L41
var `scheduledCompactKeyName` is unused (unused)
|
run:
pkg/data/data.go#L204
func `getConsistentIndex` is unused (unused)
|
run:
cmd/root.go#L26
var `cfgFile` is unused (unused)
|
run:
cmd/extract.go#L322
S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
|