Feat: Reset logic for engine to roll-back in memory. #2020
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
golangci-lint.yml
on: pull_request
GolangCI-Lint
5m 53s
Annotations
4 errors and 1 warning
[golangci] components/restapi/core/component.go#L57:
components/restapi/core/component.go#L57
string `/outputs/:` has 3 occurrences, make it a constant (goconst)
|
[golangci] pkg/protocol/engine/ledger/blockvoterank.go#L27:
pkg/protocol/engine/ledger/blockvoterank.go#L27
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
[golangci] pkg/protocol/engine/ledger/ledger/ledger.go#L261:
pkg/protocol/engine/ledger/ledger/ledger.go#L261
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)
|
GolangCI-Lint
reviewdog exited with status code: 1
|
GolangCI-Lint
Unexpected input(s) 'version', valid inputs are ['github_token', 'golangci_lint_flags', 'tool_name', 'level', 'reporter', 'filter_mode', 'fail_on_error', 'reviewdog_flags', 'workdir', 'reviewdog_version', 'golangci_lint_version', 'go_version', 'go_version_file', 'cache']
|