Skip to content

Beds 89/add evm node indexer #1745

Beds 89/add evm node indexer

Beds 89/add evm node indexer #1745

Triggered via pull request September 22, 2024 10:23
Status Failure
Total duration 50s
Artifacts

backend-linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
lint: backend/cmd/evm_node_indexer/main.go#L1403
use of `logrus.Errorf` forbidden because "Use log.Error instead" (forbidigo)
lint: backend/cmd/evm_node_indexer/main.go#L1479
use of `logrus.Errorf` forbidden because "Use log.Error instead" (forbidigo)
lint: backend/cmd/evm_node_indexer/main.go#L314
`inital` is a misspelling of `initial` (misspell)
lint: backend/cmd/evm_node_indexer/main.go#L563
unnecessary conversion (unconvert)
lint: backend/cmd/evm_node_indexer/main.go#L1345
unnecessary trailing newline (whitespace)
lint: backend/cmd/evm_node_indexer/main.go#L32
import 'github.com/sirupsen/logrus' is not allowed from list 'main-logging': Do not use an external logging library, use pkg/commons/log/log instead (depguard)
lint: backend/cmd/evm_node_indexer/main.go#L22
import "github.com/ethereum/go-ethereum/core/types" imported as "eth_types" but must be "gethtypes" according to config (importas)
lint: backend/cmd/evm_node_indexer/main.go#L1190
"POST" can be replaced by http.MethodPost (usestdlibvars)
lint
issues found
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, 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/