Skip to content

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

feat(x/ecocredit)!: implement independent projects

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

Triggered via pull request August 20, 2024 14:46
Status Failure
Total duration 4m 50s
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 (x/intertx)
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/get-diff-action@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci (app)
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/get-diff-action@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci (x/data)
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/get-diff-action@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
buf-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/get-diff-action@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
buf-lint
No github_token supplied, API requests will be subject to stricter rate limiting
golangci (types)
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/get-diff-action@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
protolint
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/get-diff-action@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci (x/ecocredit)
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/get-diff-action@v6, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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_update_project_enrollment_test.go#L33
var-naming: method ProjectId should be ProjectID (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/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_create_or_update_application_test.go#L32
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)