Skip to content

add codecov

add codecov #4207

Triggered via push February 23, 2024 18:08
Status Success
Total duration 1m 33s
Artifacts

validate.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

42 errors
[golangci] executor/linux/step.go#L72: executor/linux/step.go#L72
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] executor/linux/service.go#L62: executor/linux/service.go#L62
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] executor/linux/build_test.go#L1881: executor/linux/build_test.go#L1881
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] executor/linux/build_test.go#L1959: executor/linux/build_test.go#L1959
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] executor/linux/build_test.go#L1985: executor/linux/build_test.go#L1985
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] executor/linux/build_test.go#L2057: executor/linux/build_test.go#L2057
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] executor/linux/secret.go#L202: executor/linux/secret.go#L202
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
[golangci] executor/linux/secret.go#L219: executor/linux/secret.go#L219
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
[golangci] executor/linux/secret.go#L236: executor/linux/secret.go#L236
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
[golangci] executor/linux/build_test.go#L2458: executor/linux/build_test.go#L2458
ranges should only be cuddled with assignments used in the iteration (wsl)
[golangci] executor/linux/build_test.go#L213: executor/linux/build_test.go#L213
if statements should only be cuddled with assignments used in the if statement itself (wsl)
[golangci] executor/linux/build_test.go#L1848: executor/linux/build_test.go#L1848
if statements should only be cuddled with assignments (wsl)
[golangci] executor/linux/build_test.go#L2645: executor/linux/build_test.go#L2645
only one cuddle assignment allowed before if statement (wsl)
[golangci] executor/linux/build_test.go#L218: executor/linux/build_test.go#L218
if statements should only be cuddled with assignments (wsl)
[golangci] executor/linux/build_test.go#L1233: executor/linux/build_test.go#L1233
if statements should only be cuddled with assignments used in the if statement itself (wsl)
[golangci] executor/linux/build_test.go#L2416: executor/linux/build_test.go#L2416
if statements should only be cuddled with assignments (wsl)
[golangci] executor/linux/build_test.go#L148: executor/linux/build_test.go#L148
defer statements should only be cuddled with expressions on same variable (wsl)
[golangci] executor/linux/build_test.go#L1843: executor/linux/build_test.go#L1843
if statements should only be cuddled with assignments used in the if statement itself (wsl)
[golangci] executor/linux/build_test.go#L2364: executor/linux/build_test.go#L2364
only one cuddle assignment allowed before if statement (wsl)
[golangci] executor/linux/build_test.go#L1452: executor/linux/build_test.go#L1452
defer statements should only be cuddled with expressions on same variable (wsl)
[golangci] executor/linux/build_test.go#L1542: executor/linux/build_test.go#L1542
ranges should only be cuddled with assignments used in the iteration (wsl)
[golangci] executor/linux/build_test.go#L1801: executor/linux/build_test.go#L1801
only one cuddle assignment allowed before range statement (wsl)
[golangci] executor/linux/build_test.go#L170: executor/linux/build_test.go#L170
only one cuddle assignment allowed before if statement (wsl)
[golangci] executor/linux/build_test.go#L2697: executor/linux/build_test.go#L2697
ranges should only be cuddled with assignments used in the iteration (wsl)
[golangci] executor/linux/build_test.go#L1693: executor/linux/build_test.go#L1693
defer statements should only be cuddled with expressions on same variable (wsl)
[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#L227: runtime/kubernetes/pod_tracker.go#L227
Error return value of `(k8s.io/client-go/tools/cache.SharedInformer).AddEventHandler` is not checked (errcheck)
[golangci] runtime/kubernetes/pod_tracker_test.go#L185: runtime/kubernetes/pod_tracker_test.go#L185
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] runtime/kubernetes/pod_tracker_test.go#L259: runtime/kubernetes/pod_tracker_test.go#L259
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] runtime/kubernetes/pod_tracker_test.go#L328: runtime/kubernetes/pod_tracker_test.go#L328
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] runtime/kubernetes/pod_tracker_test.go#L374: runtime/kubernetes/pod_tracker_test.go#L374
expressions should not be cuddled with blocks (wsl)
[golangci] internal/context/context_test.go#L148: internal/context/context_test.go#L148
assignments should only be cuddled with other assignments (wsl)
[golangci] cmd/vela-worker/operate.go#L121: cmd/vela-worker/operate.go#L121
assignments should only be cuddled with other assignments (wsl)
[golangci] cmd/vela-worker/operate.go#L128: cmd/vela-worker/operate.go#L128
branch statements should not be cuddled if block has more than two lines (wsl)
[golangci] cmd/vela-worker/operate.go#L175: cmd/vela-worker/operate.go#L175
branch statements should not be cuddled if block has more than two lines (wsl)
[golangci] cmd/vela-worker/operate.go#L210: cmd/vela-worker/operate.go#L210
return statements should not be cuddled if block has more than two lines (wsl)
[golangci] cmd/vela-worker/operate.go#L169: cmd/vela-worker/operate.go#L169
branch statements should not be cuddled if block has more than two lines (wsl)
[golangci] cmd/vela-worker/operate.go#L182: cmd/vela-worker/operate.go#L182
return statements should not be cuddled if block has more than two lines (wsl)
[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#L54: cmd/vela-worker/start.go#L54
expressions should not be cuddled with blocks (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)