Skip to content

Merge pull request #120 from kobergj/AllowConfiguringRegisterAction #56

Merge pull request #120 from kobergj/AllowConfiguringRegisterAction

Merge pull request #120 from kobergj/AllowConfiguringRegisterAction #56

Triggered via push July 23, 2023 20:53
Status Failure
Total duration 16m 16s
Artifacts

main.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 10 warnings
Lint: bsonrpc.go#L9
import 'github.com/go-micro/go-bson' is not allowed from list 'Main' (depguard)
Lint: bsonrpc.go#L32
missing cases in switch of type codec.MessageType: codec.Error (exhaustive)
Lint: bsonrpc.go#L42
assignments should only be cuddled with other assignments (wsl)
Lint: bsonrpc.go#L43
return statements should not be cuddled if block has more than two lines (wsl)
Lint: bsonrpc.go#L45
ST1005: error strings should not be capitalized (stylecheck)
Lint: bsonrpc.go#L53
missing cases in switch of type codec.MessageType: codec.Error (exhaustive)
Lint: bsonrpc.go#L59
Error return value of `io.Copy` is not checked (errcheck)
Lint: bsonrpc.go#L61
ST1005: error strings should not be capitalized (stylecheck)
Lint: bsonrpc.go#L63
return statements should not be cuddled if block has more than two lines (wsl)
Lint: bsonrpc.go#L67
missing cases in switch of type codec.MessageType: codec.Error (exhaustive)
Summary
cannot use "quic-go doesn't build on Go 1.18 yet." (untyped string constant) as int value in variable declaration
Summary
impossible type assertion: ipubsub.MessageAckHandler(m).(*psAckHandler)
Summary
cannot use ackh (variable of type *psAckHandler) as type "cloud.google.com/go/internal/pubsub".AckHandler in argument to ipubsub.NewMessage:
Summary
Process completed with exit code 1.
Unit Tests
Process completed with exit code 1.
Lint: bsonrpc.go#L82
exported: exported function NewCodec should have comment or be unexported (revive)
Lint: codec.go#L36
if-return: redundant if ...; err != nil check, just return error instead. (revive)
Lint: codec.go#L89
if-return: redundant if ...; err != nil check, just return error instead. (revive)
Lint: json.go#L12
exported: exported type Codec should have comment or be unexported (revive)
Lint: json.go#L21
unused-parameter: parameter 'm' seems to be unused, consider removing or renaming it as _ (revive)
Lint: json.go#L25
exported: exported method Codec.ReadBody should have comment or be unexported (revive)
Lint: json.go#L35
unused-parameter: parameter 'm' seems to be unused, consider removing or renaming it as _ (revive)
Lint: json.go#L42
exported: exported method Codec.Close should have comment or be unexported (revive)
Lint: json.go#L50
exported: exported function NewCodec should have comment or be unexported (revive)
Lint: marshaler.go#L26
exported: exported type Marshaler should have comment or be unexported (revive)