feat: upgrade Cosmos SDK to v0.47 #8501
lint.yml
on: pull_request
buf-lint
10s
protolint
9s
Matrix: golangci
Annotations
28 errors and 19 warnings
golangci (app)
Failed to run: Error: failed to get action config: Request timeout: /golangci/golangci-lint/master/assets/github-action-config.json, Error: failed to get action config: Request timeout: /golangci/golangci-lint/master/assets/github-action-config.json
at getConfig (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:67135:15)
at async findLintVersion (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:67156:20)
at async prepareLint (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:66704:27)
at async prepareEnv (/home/runner/work/_actions/golangci/golangci-lint-action/v3/dist/run/index.js:66765:22)
|
golangci (app)
failed to get action config: Request timeout: /golangci/golangci-lint/master/assets/github-action-config.json
|
golangci (x/intertx)
The job was canceled because "app" failed.
|
golangci (x/intertx):
x/intertx/keeper/keeper.go#L5
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci (x/intertx):
x/intertx/keeper/keeper_test.go#L5
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci (x/intertx):
x/intertx/keeper/keeper_test.go#L10
File is not `goimports`-ed (goimports)
|
golangci (x/intertx)
issues found
|
golangci (types)
The job was canceled because "app" failed.
|
golangci (types):
types/ormutil/compatability.go#L7
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci (types):
types/ormstore/db_test.go#L6
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci (types):
types/math/math.go#L5
File is not `goimports`-ed (goimports)
|
golangci (types):
types/math/dec_test.go#L608
ineffectual assignment to b (ineffassign)
|
golangci (types):
types/math/dec_test.go#L611
ineffectual assignment to err (ineffassign)
|
golangci (types)
issues found
|
golangci (x/data)
The job was canceled because "app" failed.
|
golangci (x/data):
x/data/server/hasher/hasher_test.go#L12
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci (x/data):
x/data/server/genesis.go#L5
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci (x/data):
x/data/server/server.go#L5
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci (x/data)
issues found
|
golangci (x/ecocredit)
The job was canceled because "app" failed.
|
golangci (x/ecocredit):
x/ecocredit/migrations/v4/state_test.go#L6
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci (x/ecocredit):
x/ecocredit/simulation/genesis_test.go#L10
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci (x/ecocredit):
x/ecocredit/basket/simulation/msg_take.go#L9
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci (x/ecocredit):
x/ecocredit/base/keeper/msg_update_batch_metadata_test.go#L178
unnecessary conversion (unconvert)
|
golangci (x/ecocredit):
x/ecocredit/base/keeper/msg_update_class_metadata_test.go#L123
unnecessary conversion (unconvert)
|
golangci (x/ecocredit):
x/ecocredit/server/testsuite/suite.go#L27
ST1019: package "github.com/regen-network/regen-ledger/types/v2" is being imported more than once (stylecheck)
|
golangci (x/ecocredit):
x/ecocredit/server/testsuite/suite.go#L28
ST1019(related information): other import of "github.com/regen-network/regen-ledger/types/v2" (stylecheck)
|
golangci (x/ecocredit)
issues found
|
buf-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
protolint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
golangci (app)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
golangci (x/intertx):
x/intertx/types/v1/msg_register_account.go#L37
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgRegisterAccount (revive)
|
golangci (x/intertx):
x/intertx/types/v1/msg_register_account.go#L38
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgRegisterAccount (revive)
|
golangci (x/intertx):
x/intertx/types/v1/msg_register_account.go#L39
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgRegisterAccount (revive)
|
golangci (x/intertx):
x/intertx/types/v1/msg_submit_tx.go#L44
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgSubmitTx (revive)
|
golangci (x/intertx):
x/intertx/types/v1/msg_submit_tx.go#L45
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgSubmitTx (revive)
|
golangci (x/intertx):
x/intertx/types/v1/msg_submit_tx.go#L46
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgSubmitTx (revive)
|
golangci (types):
types/ormutil/compatability.go#L14
var-naming: func PageReqToCosmosApiLegacy should be PageReqToCosmosAPILegacy (revive)
|
golangci (x/data):
x/data/msg_attest.go#L40
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgAttest (revive)
|
golangci (x/data):
x/data/msg_attest.go#L41
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgAttest (revive)
|
golangci (x/data):
x/data/msg_attest.go#L42
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgAttest (revive)
|
golangci (x/data):
x/data/msg_define_resolver.go#L33
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgDefineResolver (revive)
|
golangci (x/data):
x/data/msg_anchor.go#L31
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgAnchor (revive)
|
golangci (x/data):
x/data/msg_define_resolver.go#L34
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgDefineResolver (revive)
|
golangci (x/data):
x/data/msg_define_resolver.go#L35
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgDefineResolver (revive)
|
golangci (x/data):
x/data/msg_anchor.go#L32
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgAnchor (revive)
|
golangci (x/data):
x/data/msg_anchor.go#L33
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgAnchor (revive)
|