Skip to content

Master debug

Master debug #2728

Triggered via pull request March 8, 2024 06:29
Status Failure
Total duration 48s
Artifacts

lint.yml

on: pull_request
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
golangci-lint (1.20.x, ubuntu-latest): x/storage/genesis_test.go#L1
: # github.com/bnb-chain/greenfield/x/storage_test [github.com/bnb-chain/greenfield/x/storage.test]
golangci-lint (1.20.x, ubuntu-latest): x/storage/genesis_test.go#L33
cannot use &types.MockPaymentKeeper{} (value of type *"github.com/bnb-chain/greenfield/x/storage/types".MockPaymentKeeper) as "github.com/bnb-chain/greenfield/x/storage/types".PaymentKeeper value in argument to keeper.NewKeeper: *"github.com/bnb-chain/greenfield/x/storage/types".MockPaymentKeeper does not implement "github.com/bnb-chain/greenfield/x/storage/types".PaymentKeeper (missing method GetAllStreamRecord) (typecheck)
golangci-lint (1.20.x, ubuntu-latest): x/storage/keeper/cross_app_bucket_test.go#L1
: # github.com/bnb-chain/greenfield/x/storage/keeper_test [github.com/bnb-chain/greenfield/x/storage/keeper.test]
golangci-lint (1.20.x, ubuntu-latest): x/storage/keeper/grpc_query_test.go#L39
cannot use &types.MockPaymentKeeper{} (value of type *"github.com/bnb-chain/greenfield/x/storage/types".MockPaymentKeeper) as "github.com/bnb-chain/greenfield/x/storage/types".PaymentKeeper value in argument to keeper.NewKeeper: *"github.com/bnb-chain/greenfield/x/storage/types".MockPaymentKeeper does not implement "github.com/bnb-chain/greenfield/x/storage/types".PaymentKeeper (missing method GetAllStreamRecord)
golangci-lint (1.20.x, ubuntu-latest): x/storage/keeper/payment_test.go#L73
cannot use paymentKeeper (variable of type *"github.com/bnb-chain/greenfield/x/storage/types".MockPaymentKeeper) as "github.com/bnb-chain/greenfield/x/storage/types".PaymentKeeper value in argument to keeper.NewKeeper: *"github.com/bnb-chain/greenfield/x/storage/types".MockPaymentKeeper does not implement "github.com/bnb-chain/greenfield/x/storage/types".PaymentKeeper (missing method GetAllStreamRecord) (typecheck)
golangci-lint (1.20.x, ubuntu-latest)
issues found
golangci-lint (1.20.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, actions/cache@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.