Skip to content

GH Actions: avoid double running on PRs from upstream branches #57

GH Actions: avoid double running on PRs from upstream branches

GH Actions: avoid double running on PRs from upstream branches #57

Triggered via push March 28, 2024 23:17
Status Failure
Total duration 24s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Lint: kaitai/stream_test.go#L760
760-787 lines are duplicate of `kaitai/stream_test.go:789-816` (dupl)
Lint: kaitai/stream_test.go#L789
789-816 lines are duplicate of `kaitai/stream_test.go:760-787` (dupl)
Lint: kaitai/error.go#L65
line is 127 characters (lll)
Lint: kaitai/error.go#L96
line is 122 characters (lll)
Lint: kaitai/error.go#L127
line is 128 characters (lll)
Lint: kaitai/stream.go#L45
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
Lint: kaitai/stream.go#L259
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
Lint: kaitai/stream.go#L211
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"ReadBytes(%d): negative number of bytes to read\", n)" (goerr113)
Lint: kaitai/stream.go#L313
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"ReadBitsIntBe(%d): more than 8 bytes requested\", n)" (goerr113)
Lint: kaitai/stream.go#L354
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"ReadBitsIntLe(%d): more than 8 bytes requested\", n)" (goerr113)
Test
Restore cache failed: Dependencies file is not found in /home/runner/work/kaitai_struct_go_runtime/kaitai_struct_go_runtime. Supported file pattern: go.sum
Lint: kaitai/stream.go#L276
unused-parameter: parameter 'encoding' seems to be unused, consider removing or renaming it as _ (revive)
Lint: kaitai/stream.go#L287
unused-parameter: parameter 'encoding' seems to be unused, consider removing or renaming it as _ (revive)
Lint: kaitai/stream.go#L380
unused-parameter: parameter 'n' seems to be unused, consider removing or renaming it as _ (revive)