Skip to content

Add new workflow for static analysis checks & address lint errors #2

Add new workflow for static analysis checks & address lint errors

Add new workflow for static analysis checks & address lint errors #2

Triggered via pull request March 21, 2024 14:50
Status Failure
Total duration 59s
Artifacts

static-analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

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)