Serverless #4611
test.yaml
on: pull_request
Block merge if non-linear git history detected
13s
Run tests defined for the project
11m 32s
Perform CodeQL analysis
4m 12s
Run editorconfig checker
7s
Annotations
18 warnings
|
Run editorconfig checker
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4.1.7. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Block merge if non-linear git history detected
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Perform CodeQL analysis
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Perform CodeQL analysis
Starting April 2026, the CodeQL Action will skip computing file coverage information on pull requests to improve analysis performance. File coverage information will still be computed on non-PR analyses.
To opt out of this change, set the `CODEQL_ACTION_FILE_COVERAGE_ON_PRS` environment variable to `true`. Alternatively, create a custom repository property with the name `github-codeql-file-coverage-on-prs` and the type "True/false", then set this property to `true` in the repository's settings.
|
|
Run tests defined for the project
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-go@v5, codecov/codecov-action@v4, golangci/golangci-lint-action@v8. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run tests defined for the project
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
|
|
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']
|
|
Run tests defined for the project:
ai/file_worker.go#L20
parameter 'req' seems to be unused, consider removing or renaming it as _
|
|
Run tests defined for the project:
trickle/trickle_server.go#L84
error var FirstByteTimeout should have name of the form ErrFoo
|
|
Run tests defined for the project:
trickle/trickle_subscriber.go#L42
error var EOS should have name of the form ErrFoo
|
|
Run tests defined for the project:
ai/file_worker.go#L20
parameter 'ctx' seems to be unused, consider removing or renaming it as _
|
|
Run tests defined for the project:
trickle/trickle_publisher.go#L156
exported method Next returns unexported type *trickle.pendingPost, which can be annoying to use
|
|
Run tests defined for the project:
cmd/devtool/devtool.go#L288
parameter 'info' seems to be unused, consider removing or renaming it as _
|
|
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/types/contracts.go#L49
struct field NextUnbondingLockId should be NextUnbondingLockID
|
|
Run tests defined for the project:
eth/types/merkletree_test.go#L1
avoid meaningless package names
|
|
Run tests defined for the project:
cmd/simple_auth_server/simple_auth_server.go#L17
struct field Url should be URL
|
|
Run tests defined for the project
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
|