Skip to content

Fix all errcheck lint violations #8

Fix all errcheck lint violations

Fix all errcheck lint violations #8

Triggered via push July 7, 2026 17:31
Status Failure
Total duration 20s
Artifacts –

ci.yaml

on: push
Matrix: build
release
release
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: internal/watcher/tailer.go#L42
Error return value of `f.Close` is not checked (errcheck)
lint: internal/parser/codex.go#L87
Error return value of `json.Unmarshal` is not checked (errcheck)
lint: internal/parser/codex.go#L70
Error return value of `json.Unmarshal` is not checked (errcheck)
lint: internal/parser/codex.go#L56
Error return value of `json.Unmarshal` is not checked (errcheck)
lint: internal/ltf/emitter.go#L170
Error return value of `sw.file.Close` is not checked (errcheck)
lint: internal/ltf/emitter.go#L128
Error return value of `sw.file.Close` is not checked (errcheck)
lint: internal/enforcer/enforcer.go#L72
Error return value is not checked (errcheck)
lint: internal/daemon/service.go#L41
Error return value of `p.daemon.Run` is not checked (errcheck)
lint: internal/daemon/daemon.go#L317
Error return value of `d.enforcer.Execute` is not checked (errcheck)
lint: internal/api/handlers.go#L58
Error return value of `(*encoding/json.Encoder).Encode` is not checked (errcheck)
build (1.24)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-go@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-go@v5, golangci/golangci-lint-action@v7. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build (1.26)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-go@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/