lpms: Update to 9d6ea5f #1896
test.yaml
on: pull_request
Run tests defined for the project
17m 37s
Perform CodeQL analysis
2m 55s
Run editorconfig checker
5s
Annotations
11 warnings
Run tests defined for the project:
cmd/devtool/devtool/devtool_utils.go#L303
should omit type *big.Int from declaration of var amount; it will be inferred from the right-hand side
|
Run tests defined for the project:
cmd/livepeer_bench/livepeer_bench.go#L189
should replace realTimeSegCount += 1 with realTimeSegCount++
|
Run tests defined for the project:
eth/blockwatch/fake_client.go#L48
should drop = 0 from declaration of var startTimestep; it is the zero value
|
Run tests defined for the project:
eth/types/contracts.go#L49
struct field NextUnbondingLockId should be NextUnbondingLockID
|
Run tests defined for the project:
eth/blockwatch/stack.go#L80
redundant if ...; err != nil check, just return error instead.
|
Run tests defined for the project:
eth/blockwatch/fake_log_client.go#L33
parameter 'number' seems to be unused, consider removing or renaming it as _
|
Run tests defined for the project:
eth/blockwatch/fake_log_client.go#L38
parameter 'hash' seems to be unused, consider removing or renaming it as _
|
Run tests defined for the project:
eth/blockwatch/block_watcher.go#L496
if block ends with a return statement, so drop this else and outdent its block
|
Run tests defined for the project:
eth/watchers/timewatcher.go#L225
redefinition of the built-in function new
|
Run tests defined for the project:
eth/blockwatch/fake_client.go#L94
parameter 'q' seems to be unused, consider removing or renaming it as _
|
Run tests defined for the project
Unexpected input(s) 'gcov_ignore', valid inputs are ['token', 'codecov_yml_path', 'commit_parent', 'directory', 'disable_file_fixes', 'disable_search', 'disable_safe_directory', 'dry_run', 'env_vars', 'exclude', 'fail_ci_if_error', 'file', 'files', 'flags', 'git_service', 'handle_no_reports_found', 'job_code', 'name', 'network_filter', 'network_prefix', 'os', 'override_branch', 'override_build', 'override_build_url', 'override_commit', 'override_pr', 'plugin', 'plugins', 'report_code', 'root_dir', 'slug', 'url', 'use_legacy_upload_endpoint', 'use_oidc', 'verbose', 'version', 'working-directory']
|