Skip to content

Add GitHub Action for golangci-lint #1

Add GitHub Action for golangci-lint

Add GitHub Action for golangci-lint #1

Triggered via push April 21, 2025 22:09
Status Failure
Total duration 52s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: cluster.go#L39
S1034: assigning the result of this type assertion to a variable (switch rawPartID := rawPartID.(type)) could eliminate type assertions in switch cases (staticcheck)
lint: internal/pubsub/pubsub_test.go#L135
Error return value of `conn.Close` is not checked (errcheck)
lint: internal/pubsub/pubsub.go#L184
Error return value of `sconn.dconn.Close` is not checked (errcheck)
lint: internal/pubsub/pubsub.go#L183
Error return value of `sconn.dconn.Flush` is not checked (errcheck)
lint: internal/pubsub/pubsub.go#L156
Error return value of `sconn.dconn.Flush` is not checked (errcheck)
lint: internal/pubsub/pubsub.go#L138
Error return value of `sconn.dconn.Close` is not checked (errcheck)
lint: internal/pubsub/pubsub.go#L121
Error return value of `sconn.dconn.Flush` is not checked (errcheck)
lint: internal/locker/locker_test.go#L132
Error return value of `l.Unlock` is not checked (errcheck)
lint: internal/locker/locker_test.go#L105
Error return value of `l.Unlock` is not checked (errcheck)
lint: internal/locker/locker_test.go#L81
Error return value of `l.Unlock` is not checked (errcheck)