Skip to content

chore(deps): update codecov/codecov-action action to v5 #4794

chore(deps): update codecov/codecov-action action to v5

chore(deps): update codecov/codecov-action action to v5 #4794

Triggered via push November 15, 2024 15:37
Status Success
Total duration 2m 6s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

57 errors and 1 warning
[golangci] runtime/kubernetes/mock.go#L143: runtime/kubernetes/mock.go#L143
Error return value of `(k8s.io/client-go/tools/cache.SharedInformer).AddEventHandler` is not checked (errcheck)
[golangci] runtime/kubernetes/pod_tracker.go#L226: runtime/kubernetes/pod_tracker.go#L226
Error return value of `(k8s.io/client-go/tools/cache.SharedInformer).AddEventHandler` is not checked (errcheck)
[golangci] cmd/vela-worker/exec.go#L29: cmd/vela-worker/exec.go#L29
cyclomatic complexity 31 of func `(*Worker).exec` is high (> 30) (gocyclo)
[golangci] mock/docker/plugin.go#L22: mock/docker/plugin.go#L22
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] mock/docker/mock.go#L58: mock/docker/mock.go#L58
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] mock/docker/service.go#L24: mock/docker/service.go#L24
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] internal/service/snapshot_test.go#L137: internal/service/snapshot_test.go#L137
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] internal/service/upload_test.go#L165: internal/service/upload_test.go#L165
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] runtime/kubernetes/pod_tracker_test.go#L184: runtime/kubernetes/pod_tracker_test.go#L184
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] executor/local/build_test.go#L470: executor/local/build_test.go#L470
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] executor/local/build_test.go#L515: executor/local/build_test.go#L515
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] executor/linux/build_test.go#L1100: executor/linux/build_test.go#L1100
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] executor/linux/secret.go#L215: executor/linux/secret.go#L215
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
[golangci] executor/linux/secret.go#L232: executor/linux/secret.go#L232
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
[golangci] executor/linux/secret.go#L249: executor/linux/secret.go#L249
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
[golangci] mock/docker/container.go#L127: mock/docker/container.go#L127
SA1019: types.ContainerExecInspect is deprecated: use [container.ExecInspect]. (staticcheck)
[golangci] mock/docker/container.go#L388: mock/docker/container.go#L388
SA1019: types.ContainerPathStat is deprecated: use [container.PathStat]. (staticcheck)
[golangci] mock/docker/container.go#L397: mock/docker/container.go#L397
SA1019: types.ContainerStats is deprecated: use [container.StatsResponseReader]. (staticcheck)
[golangci] mock/docker/container.go#L495: mock/docker/container.go#L495
SA1019: types.ContainersPruneReport is deprecated: use [container.PruneReport]. (staticcheck)
[golangci] mock/docker/container.go#L503: mock/docker/container.go#L503
SA1019: types.ContainerStats is deprecated: use [container.StatsResponseReader]. (staticcheck)
[golangci] mock/docker/container.go#L511: mock/docker/container.go#L511
SA1019: types.ContainerPathStat is deprecated: use [container.PathStat]. (staticcheck)
[golangci] mock/docker/network.go#L40: mock/docker/network.go#L40
SA1019: types.NetworkCreateResponse is deprecated: use [network.CreateResponse]. (staticcheck)
[golangci] mock/docker/network.go#L47: mock/docker/network.go#L47
SA1019: types.NetworkCreateResponse is deprecated: use [network.CreateResponse]. (staticcheck)
[golangci] mock/docker/network.go#L56: mock/docker/network.go#L56
SA1019: types.NetworkCreateResponse is deprecated: use [network.CreateResponse]. (staticcheck)
[golangci] mock/docker/network.go#L84: mock/docker/network.go#L84
SA1019: types.NetworkResource is deprecated: use [network.Inspect] or [network.Summary] (for list operations). (staticcheck)
[golangci] mock/docker/network.go#L89: mock/docker/network.go#L89
SA1019: types.NetworkResource is deprecated: use [network.Inspect] or [network.Summary] (for list operations). (staticcheck)
[golangci] mock/docker/network.go#L96: mock/docker/network.go#L96
SA1019: types.NetworkResource is deprecated: use [network.Inspect] or [network.Summary] (for list operations). (staticcheck)
[golangci] mock/docker/network.go#L176: mock/docker/network.go#L176
SA1019: types.NetworksPruneReport is deprecated: use [network.PruneReport]. (staticcheck)
[golangci] mock/docker/volume.go#L173: mock/docker/volume.go#L173
SA1019: types.VolumesPruneReport is deprecated: use [volume.PruneReport]. (staticcheck)
[golangci] runtime/docker/container.go#L303: runtime/docker/container.go#L303
SA1019: types.ExecConfig is deprecated: use [container.ExecOptions]. (staticcheck)
[golangci] runtime/docker/container.go#L315: runtime/docker/container.go#L315
SA1019: types.ExecStartCheck is deprecated: use [container.ExecStartOptions] or [container.ExecAttachOptions]. (staticcheck)
[golangci] runtime/docker/network.go#L23: runtime/docker/network.go#L23
SA1019: types.NetworkCreate is deprecated: use [network.CreateOptions]. (staticcheck)
[golangci] runtime/docker/network.go#L45: runtime/docker/network.go#L45
SA1019: types.NetworkInspectOptions is deprecated: use [network.InspectOptions]. (staticcheck)
[golangci] cmd/vela-worker/start.go#L50: cmd/vela-worker/start.go#L50
assignments should only be cuddled with other assignments (wsl)
[golangci] cmd/vela-worker/start.go#L51: cmd/vela-worker/start.go#L51
only one cuddle assignment allowed before if statement (wsl)
[golangci] cmd/vela-worker/start.go#L54: cmd/vela-worker/start.go#L54
expressions should not be cuddled with blocks (wsl)
[golangci] cmd/vela-worker/start.go#L57: cmd/vela-worker/start.go#L57
assignments should only be cuddled with other assignments (wsl)
[golangci] cmd/vela-worker/start.go#L58: cmd/vela-worker/start.go#L58
only one cuddle assignment allowed before if statement (wsl)
[golangci] cmd/vela-worker/start.go#L61: cmd/vela-worker/start.go#L61
return statements should not be cuddled if block has more than two lines (wsl)
[golangci] cmd/vela-worker/start.go#L70: cmd/vela-worker/start.go#L70
expressions should not be cuddled with declarations or returns (wsl)
[golangci] cmd/vela-worker/start.go#L71: cmd/vela-worker/start.go#L71
if statements should only be cuddled with assignments (wsl)
[golangci] executor/linux/build_test.go#L863: executor/linux/build_test.go#L863
only one cuddle assignment allowed before if statement (wsl)
[golangci] executor/linux/build_test.go#L384: executor/linux/build_test.go#L384
ranges should only be cuddled with assignments used in the iteration (wsl)
[golangci] executor/linux/build_test.go#L840: executor/linux/build_test.go#L840
defer statements should only be cuddled with expressions on same variable (wsl)
[golangci] executor/linux/build_test.go#L207: executor/linux/build_test.go#L207
if statements should only be cuddled with assignments used in the if statement itself (wsl)
[golangci] executor/linux/build_test.go#L987: executor/linux/build_test.go#L987
if statements should only be cuddled with assignments used in the if statement itself (wsl)
[golangci] executor/linux/build_test.go#L1595: executor/linux/build_test.go#L1595
ranges should only be cuddled with assignments used in the iteration (wsl)
[golangci] executor/linux/build_test.go#L1852: executor/linux/build_test.go#L1852
if statements should only be cuddled with assignments (wsl)
[golangci] executor/linux/build_test.go#L202: executor/linux/build_test.go#L202
ranges should only be cuddled with assignments used in the iteration (wsl)
[golangci] executor/linux/build_test.go#L389: executor/linux/build_test.go#L389
if statements should only be cuddled with assignments used in the if statement itself (wsl)
[golangci] executor/linux/build_test.go#L1483: executor/linux/build_test.go#L1483
defer statements should only be cuddled with expressions on same variable (wsl)
[golangci] executor/linux/build_test.go#L1605: executor/linux/build_test.go#L1605
if statements should only be cuddled with assignments (wsl)
[golangci] executor/linux/build_test.go#L1757: executor/linux/build_test.go#L1757
defer statements should only be cuddled with expressions on same variable (wsl)
[golangci] executor/linux/build_test.go#L945: executor/linux/build_test.go#L945
only one cuddle assignment allowed before range statement (wsl)
[golangci] internal/context/context_test.go#L148: internal/context/context_test.go#L148
assignments should only be cuddled with other assignments (wsl)
[golangci] runtime/kubernetes/pod_tracker_test.go#L373: runtime/kubernetes/pod_tracker_test.go#L373
expressions should not be cuddled with blocks (wsl)
[golangci] cmd/vela-worker/exec.go#L28: cmd/vela-worker/exec.go#L28
directive `//nolint:nilerr,funlen // ignore returning nil - don't want to crash worker` is unused for linter "nilerr" (nolintlint)
test
Unexpected input(s) 'file', valid inputs are ['binary', 'codecov_yml_path', 'commit_parent', 'directory', 'disable_file_fixes', 'disable_search', 'disable_safe_directory', 'dry_run', 'env_vars', 'exclude', 'fail_ci_if_error', 'files', 'flags', 'git_service', 'gcov_args', 'gcov_executable', 'gcov_ignore', 'gcov_include', 'handle_no_reports_found', 'job_code', 'name', 'network_filter', 'network_prefix', 'os', 'override_branch', 'override_build', 'override_build_url', 'override_commit', 'override_pr', 'plugins', 'report_code', 'report_type', 'root_dir', 'skip_validation', 'slug', 'swift_project', 'token', 'url', 'use_legacy_upload_endpoint', 'use_oidc', 'verbose', 'version', 'working-directory']