Skip to content

feat:add client

feat:add client #35

Re-run triggered October 26, 2023 03:22
Status Failure
Total duration 51s
Artifacts

pr-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 4 warnings
staticcheck: client.go#L232
[staticcheck] reported by reviewdog 🐶 should use a simple channel send/receive instead of select with a single case Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"should use a simple channel send/receive instead of select with a single case","code":{"value":"S1000","url":"https://staticcheck.io/docs/checks#S1000"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-02/sse/sse/client.go","range":{"start":{"line":232,"column":3}}},"severity":"ERROR"}
staticcheck: client_test.go#L64
[staticcheck] reported by reviewdog 🐶 func setupDisconnect is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func setupDisconnect is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-02/sse/sse/client_test.go","range":{"start":{"line":64,"column":6}}},"severity":"ERROR"}
staticcheck: client_test.go#L99
[staticcheck] reported by reviewdog 🐶 should use a simple channel send/receive instead of select with a single case Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"should use a simple channel send/receive instead of select with a single case","code":{"value":"S1000","url":"https://staticcheck.io/docs/checks#S1000"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-02/sse/sse/client_test.go","range":{"start":{"line":99,"column":3}}},"severity":"ERROR"}
staticcheck: client_test.go#L170
[staticcheck] reported by reviewdog 🐶 func newServerDisconnect is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func newServerDisconnect is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-02/sse/sse/client_test.go","range":{"start":{"line":170,"column":6}}},"severity":"ERROR"}
staticcheck: client_test.go#L372
[staticcheck] reported by reviewdog 🐶 empty branch Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"empty branch","code":{"value":"SA9003","url":"https://staticcheck.io/docs/checks#SA9003"},"location":{"path":"/data00/runner/hertz-contrib-sg-runner-02/sse/sse/client_test.go","range":{"start":{"line":372,"column":3}}},"severity":"ERROR"}
staticcheck
Process completed with exit code 1.
lint: client.go#L26
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: client.go#L31
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: client_test.go#L25
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: client_test.go#L64
func `setupDisconnect` is unused (unused)
lint: client_test.go#L170
func `newServerDisconnect` is unused (unused)
lint: client.go#L232
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
lint: client_test.go#L99
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
lint
issues found
compliant
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
compliant
This self-hosted runner is currently using runner version 2.309.0. This version is out of date. Please update to the latest version 2.311.0
staticcheck
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.309.0. Please update to the latest version 2.311.0
lint
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.309.0. Please update to the latest version 2.311.0