Skip to content

try fix lint

try fix lint #3416

Triggered via push February 15, 2024 11:05
Status Failure
Total duration 1m 14s
Artifacts

dispatch.yml

on: push
Lint  /  Shell pipefail check
4s
Lint / Shell pipefail check
Lint  /  Broken Markdown links
54s
Lint / Broken Markdown links
Lint  /  Golang
57s
Lint / Golang
Lint  /  Protobuf
13s
Lint / Protobuf
Lint  /  Super Linter
1m 1s
Lint / Super Linter
Build  /  Node binary
55s
Build / Node binary
Build  /  Docker image
0s
Build / Docker image
Tests  /  Report
Tests / Report
Release  /  Super Linter
Release / Super Linter
Release  /  Check release condition
Release / Check release condition
Release  /  Docker image
Release / Docker image
Release  /  Node binary
Release / Node binary
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 13 warnings
Lint / Protobuf
Previously present file "cheqd/did/v1/common.proto" was deleted.
Lint / Protobuf
Previously present file "cheqd/did/v1/did.proto" was deleted.
Lint / Protobuf
Previously present file "cheqd/did/v1/genesis.proto" was deleted.
Lint / Protobuf
Previously present file "cheqd/did/v1/query.proto" was deleted.
Lint / Protobuf
Previously present file "cheqd/did/v1/stateValue.proto" was deleted.
Lint / Protobuf
Previously present file "cheqd/did/v1/tx.proto" was deleted.
Lint / Protobuf
Previously present file "cheqd/resource/v1/genesis.proto" was deleted.
Lint / Protobuf
Previously present file "cheqd/resource/v1/query.proto" was deleted.
Lint / Protobuf
Previously present file "cheqd/resource/v1/resource.proto" was deleted.
Lint / Protobuf
Previously present file "cheqd/resource/v1/tx.proto" was deleted.
Build / Node binary
The process '/opt/hostedtoolcache/goreleaser-action/1.24.0/x64/goreleaser' failed with exit code 1
Lint / Golang: x/resource/utils/media_type_test.go#L7
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
Lint / Golang: x/did/utils/crypto.go#L13
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
Lint / Golang: x/did/utils/crypto_test.go#L3
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
Lint / Golang: x/did/tests/create_diddoc_test.go#L505
string `a86f9cae-0902-4a7c-a144-96b60ced2fc9` has 4 occurrences, make it a constant (goconst)
Lint / Golang: x/did/tests/create_diddoc_test.go#L25
string `#key-1` has 12 occurrences, make it a constant (goconst)
Lint / Golang: x/did/tests/create_diddoc_test.go#L170
string `#key-2` has 5 occurrences, make it a constant (goconst)
Lint / Golang: x/did/types/diddoc_verification_method_test.go#L191
string `tempor incididunt ut labore et dolore magna aliqua.` has 3 occurrences, make it a constant (goconst)
Lint / Golang: x/did/types/tx_msg_create_diddoc_payload_test.go#L18
string `#key1` has 8 occurrences, make it a constant (goconst)
Lint / Golang: x/did/types/diddoc_verification_method_test.go#L190
string `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod ` has 3 occurrences, make it a constant (goconst)
Lint / Golang: x/resource/keeper/keeper_resource.go#L87
string `resource ` has 3 occurrences, make it a constant (goconst)
Lint / Protobuf
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: bufbuild/[email protected], bufbuild/buf-lint-action@v1, bufbuild/buf-breaking-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build / Node binary
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint / Golang
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, 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/.
Lint / Golang: tests/integration/integration_suite_test.go#L6
dot-imports: should not use dot imports (revive)
Lint / Golang: tests/integration/integration_suite_test.go#L7
dot-imports: should not use dot imports (revive)
Lint / Golang: x/resource/utils/utils_suite_test.go#L6
dot-imports: should not use dot imports (revive)
Lint / Golang: x/did/client/cli/tx.go#L173
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
Lint / Golang: x/did/module.go#L68
unused-parameter: parameter 'config' seems to be unused, consider removing or renaming it as _ (revive)
Lint / Golang: x/resource/types/packet.go#L9
var-naming: struct field ResourceId should be ResourceID (revive)
Lint / Golang: x/resource/types/packet.go#L12
var-naming: struct field CollectionId should be CollectionID (revive)
Lint / Golang: ante/fee.go#L152
unused-parameter: parameter 'burn' seems to be unused, consider removing or renaming it as _ (revive)
Lint / Golang: ante/feedistrib.go#L18
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Lint / Golang: ante/tx_msg_filters.go#L89
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)