Skip to content

fix: resolve some of the errors spot with the lint. #5

fix: resolve some of the errors spot with the lint.

fix: resolve some of the errors spot with the lint. #5

Triggered via push December 22, 2024 08:54
Status Failure
Total duration 3m 33s
Billable time 4m
Artifacts

go-ci.yml

on: push
Build Binary
0s
Build Binary
Create Release
0s
Create Release
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Test & Lint: server/processing/processor.go#L125
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
Test & Lint: errors/errors.go#L167
Error return value of `w.Write` is not checked (errcheck)
Test & Lint: server/server.go#L79
Error return value of `(*encoding/json.Encoder).Encode` is not checked (errcheck)
Test & Lint: server/server.go#L118
Error return value of `(*encoding/json.Encoder).Encode` is not checked (errcheck)
Test & Lint: server/server_test.go#L221
Error return value of `w.Write` is not checked (errcheck)
Test & Lint: server/server.go#L364
func `main` is unused (unused)
Test & Lint: server/middleware/request_id.go#L22
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
Test & Lint: server/handlers/completion.go#L345
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
Test & Lint: server/handlers/completion.go#L346
SA4006: this value of `r` is never used (staticcheck)
Test & Lint: server/processing/processor.go#L125
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
Test & Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636