Skip to content

chore(action): add lint action #1

chore(action): add lint action

chore(action): add lint action #1

Triggered via push August 6, 2024 15:06
Status Failure
Total duration 25s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: worker/deliverer/http_test.go#L24
Error return value of `json.Unmarshal` is not checked (errcheck)
lint: worker/worker.go#L74
Error return value of `w.queue.Delete` is not checked (errcheck)
lint: worker/worker.go#L85
Error return value of `w.queue.Delete` is not checked (errcheck)
lint: worker/worker.go#L105
Error return value of `w.Stop` is not checked (errcheck)
lint: api/endpoints.go#L36
Error return value of `defaults.Set` is not checked (errcheck)
lint: api/middleware.go#L37
Error return value of `w.Write` is not checked (errcheck)
lint: api/middleware.go#L48
Error return value of `w.Write` is not checked (errcheck)
lint: app/app.go#L57
Error return value of `app.worker.Start` is not checked (errcheck)
lint: cmd/root.go#L45
Error return value of `cmd.Execute` is not checked (errcheck)
lint: db/dao/dao.go#L185
func `(*DAO[T]).update` is unused (unused)
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/