Skip to content

Feat/oracle reactor

Feat/oracle reactor #8

Triggered via pull request April 16, 2024 11:17
Status Failure
Total duration 46s
Artifacts

lint.yml

on: pull_request
golangci-lint
35s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 11 warnings
golangci-lint: oracle/service/runner/runner.go#L9
import 'github.com/sirupsen/logrus' is not allowed from list 'main' (depguard)
golangci-lint: oracle/reactor.go#L12
import 'github.com/sirupsen/logrus' is not allowed from list 'main' (depguard)
golangci-lint: consensus/reactor.go#L22
import 'github.com/sirupsen/logrus' is not allowed from list 'main' (depguard)
golangci-lint: cmd/cometbft/commands/compact.go#L18
ST1003: const flagDbNames should be flagDBNames (stylecheck)
golangci-lint
issues found
golangci-lint
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-lint: libs/async/async_test.go#L110
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: libs/async/async_test.go#L113
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: libs/async/async_test.go#L116
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: crypto/merkle/proof_test.go#L148
unused-parameter: parameter 'sp' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: p2p/peer_test.go#L102
unused-parameter: parameter 'p' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: p2p/switch_test.go#L774
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: p2p/switch_test.go#L813
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: rpc/jsonrpc/server/ws_handler_test.go#L47
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: rpc/jsonrpc/server/http_uri_handler.go#L27
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: rpc/jsonrpc/server/http_server_test.go#L33
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)