Skip to content

Fixed warnings, added small UT, added CI build #1

Fixed warnings, added small UT, added CI build

Fixed warnings, added small UT, added CI build #1

Triggered via pull request November 25, 2023 10:39
Status Failure
Total duration 40s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
build: cmd/go-cacher-server/cacher-server.go#L98
Error return value of `io.WriteString` is not checked (errcheck)
build: cmd/go-cacher-server/cacher-server.go#L153
Error return value of `(*encoding/json.Encoder).Encode` is not checked (errcheck)
build: cacheproc/cacheproc.go#L103
unreachable: unreachable code (govet)
build: cacheproc/cacheproc.go#L92
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
build: cachers/counts.go#L32
SA5007: infinite recursive call (staticcheck)
build
issues found