Skip to content

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

feat(x/ecocredit)!: implement independent projects

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

Triggered via pull request March 31, 2024 23:31
Status Failure
Total duration 53s
Artifacts

lint.yml

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

Annotations

3 errors and 18 warnings
golangci (x/ecocredit): x/ecocredit/base/keeper/query_project_enrollments.go#L22
ifElseChain: rewrite if-else to switch statement (gocritic)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_update_project_enrollment_test.go#L102
ifElseChain: rewrite if-else to switch statement (gocritic)
golangci (x/ecocredit)
issues found
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 (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/.
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 (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/.
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/.
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/utils.go#L74
var-naming: func parameter classId should be classID (revive)
golangci (x/ecocredit): x/ecocredit/simulation/genesis.go#L247
var-naming: var cId1 should be cID1 (revive)
golangci (x/ecocredit): x/ecocredit/simulation/genesis.go#L258
var-naming: var cId2 should be cID2 (revive)
golangci (x/ecocredit): x/ecocredit/simulation/genesis.go#L295
var-naming: var pId1 should be pID1 (revive)
golangci (x/ecocredit): x/ecocredit/simulation/genesis.go#L306
var-naming: var pId2 should be pID2 (revive)
golangci (x/ecocredit): x/ecocredit/base/types/v1/msg_create_or_update_application_test.go#L28
var-naming: method ProjectId should be ProjectID (revive)
golangci (x/ecocredit): x/ecocredit/base/types/v1/msg_update_project_enrollment_test.go#L33
var-naming: method ProjectId should be ProjectID (revive)
golangci (x/ecocredit): x/ecocredit/base/types/v1/msg_create_or_update_application_test.go#L32
var-naming: method ClassId should be ClassID (revive)
golangci (x/ecocredit): x/ecocredit/base/types/v1/msg_update_project_enrollment_test.go#L37
var-naming: method ClassId should be ClassID (revive)
golangci (x/ecocredit): x/ecocredit/marketplace/keeper/keeper_test.go#L50
var-naming: struct field classId should be classID (revive)