Skip to content

test: Add CLI, gRPC, MsgServer tests (backport #1405) #4581

test: Add CLI, gRPC, MsgServer tests (backport #1405)

test: Add CLI, gRPC, MsgServer tests (backport #1405) #4581

Triggered via pull request June 25, 2024 12:52
Status Failure
Total duration 4m 3s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
golangci-lint: x/fbridge/client/cli/query_test.go#L60
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
golangci-lint: x/fbridge/client/cli/query_test.go#L97
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
golangci-lint: x/fbridge/client/cli/query_test.go#L133
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
golangci-lint: x/fbridge/client/cli/query_test.go#L149
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
golangci-lint: x/fbridge/client/cli/query_test.go#L190
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
golangci-lint: x/fbridge/client/cli/query_test.go#L225
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
golangci-lint: x/fbridge/client/cli/query_test.go#L263
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
golangci-lint: x/fbridge/client/cli/query_test.go#L275
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
golangci-lint: x/fbridge/client/cli/query_test.go#L317
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
golangci-lint: x/fbridge/client/cli/query_test.go#L333
cannot use c (variable of type "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC) as "github.com/Finschia/ostracon/rpc/client".Client value in argument to s.baseCtx.WithClient: "github.com/Finschia/finschia-sdk/testutil/cli".MockTendermintRPC does not implement "github.com/Finschia/ostracon/rpc/client".Client (wrong type for method ABCIInfo)
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], technote-space/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/finschia-sdk/finschia-sdk. Supported file pattern: go.sum