Skip to content

feat(x/ecocredit)!: implement independent projects #8370

feat(x/ecocredit)!: implement independent projects

feat(x/ecocredit)!: implement independent projects #8370

Triggered via pull request March 28, 2024 20:13
Status Failure
Total duration 1m 3s
Artifacts

lint.yml

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

Annotations

10 errors and 18 warnings
golangci (x/ecocredit): x/ecocredit/genesis/genesis_test.go#L420
Error return value of `(github.com/regen-network/regen-ledger/api/v2/regen/ecocredit/v1.ProjectEnrollmentTable).Insert` is not checked (errcheck)
golangci (x/ecocredit): x/ecocredit/genesis/genesis_test.go#L432
Error return value of `(github.com/regen-network/regen-ledger/api/v2/regen/ecocredit/v1.ProjectEnrollmentTable).Insert` is not checked (errcheck)
golangci (x/ecocredit): x/ecocredit/genesis/genesis.go#L258
SA1019: baseapi.ProjectSequence is deprecated: No longer used. (staticcheck)
golangci (x/ecocredit): x/ecocredit/genesis/genesis.go#L259
SA1019: basetypes.ProjectSequence is deprecated: No longer used. (staticcheck)
golangci (x/ecocredit): x/ecocredit/genesis/genesis_test.go#L557
SA1019: baseapi.ProjectSequence is deprecated: No longer used. (staticcheck)
golangci (x/ecocredit): x/ecocredit/genesis/genesis_test.go#L568
SA1019: baseapi.ProjectSequence is deprecated: No longer used. (staticcheck)
golangci (x/ecocredit): x/ecocredit/base/utils.go#L74
var-naming: func parameter classId should be classID (revive)
golangci (x/ecocredit): x/ecocredit/base/utils_test.go#L48
func `testInvalidProjectID` is unused (unused)
golangci (x/ecocredit): x/ecocredit/base/utils_test.go#L114
var `genInvalidProjectID` is unused (unused)
golangci (x/ecocredit): x/ecocredit/base/utils_test.go#L72
func `testInvalidBatchDenom` is unused (unused)
golangci (app)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci (types)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
buf-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
buf-lint
No github_token supplied, API requests will be subject to stricter rate limiting
golangci (x/data)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci (x/intertx)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci (x/ecocredit)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6, 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/.
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_update_project_enrollment_test.go#L40
var-naming: method parameter projId should be projID (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_update_project_enrollment_test.go#L47
var-naming: method parameter clsId should be clsID (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_update_project_enrollment_test.go#L54
var-naming: method parameter clsId should be clsID (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/query_projects_by_class_test.go#L20
var-naming: var clsId should be clsID (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_update_project_enrollment.go#L41
redefines-builtin-id: redefinition of the built-in function delete (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_create_unregistered_project_test.go#L51
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_create_or_update_application_test.go#L36
var-naming: method parameter projId should be projID (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_update_project_enrollment_test.go#L64
var-naming: method parameter projId should be projID (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_update_project_enrollment.go#L51
redefines-builtin-id: redefinition of the built-in function delete (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_create_or_update_application_test.go#L43
var-naming: method parameter clsId should be clsID (revive)
protolint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.