Skip to content

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

Add new workflow for static analysis checks & address lint errors

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

Triggered via pull request March 21, 2024 15:07
Status Failure
Total duration 3m 3s
Artifacts

static-analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
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: cmd/extract.go#L110
S1039: unnecessary use of fmt.Sprintf (gosimple)
run: cmd/extract.go#L322
S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
run: cmd/extract.go#L330
S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
run: cmd/decode.go#L22
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
run: cmd/decode_test.go#L21
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)