Skip to content
Triggered via push May 3, 2024 14:01
Status Failure
Total duration 9m 39s
Artifacts

lint-go.yaml

on: push
Check Go Modules
37s
Check Go Modules
Check third party dependencies licenses
47s
Check third party dependencies licenses
Lint Source Code
7m 57s
Lint Source Code
Precheck
16s
Precheck
Generate API
1m 14s
Generate API
Generate k8s API
3m 29s
Generate k8s API
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 6 warnings
Precheck
Process completed with exit code 2.
Lint Source Code: cli/internal/utils/exec_test.go#L9
import of package `gopkg.in/check.v1` is blocked because the module is in the blocked modules list. `testing` and `github.com/stretchr/testify/assert` are recommended modules. gocheck has been deprecated, see https://docs.cilium.io/en/latest/contributing/testing/unit/#migrating-tests-off-of-gopkg-in-check-v1. (gomodguard)
Lint Source Code: cli/k8s/pipe_test.go#L11
import of package `gopkg.in/check.v1` is blocked because the module is in the blocked modules list. `testing` and `github.com/stretchr/testify/assert` are recommended modules. gocheck has been deprecated, see https://docs.cilium.io/en/latest/contributing/testing/unit/#migrating-tests-off-of-gopkg-in-check-v1. (gomodguard)
Lint Source Code: cli/status/k8s_test.go#L16
import of package `gopkg.in/check.v1` is blocked because the module is in the blocked modules list. `testing` and `github.com/stretchr/testify/assert` are recommended modules. gocheck has been deprecated, see https://docs.cilium.io/en/latest/contributing/testing/unit/#migrating-tests-off-of-gopkg-in-check-v1. (gomodguard)
Lint Source Code: cli/connectivity/perf/common/metrics.go#L171
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
Lint Source Code: cli/connectivity/perf/common/metrics.go#L174
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
Lint Source Code: cli/connectivity/perf/common/metrics.go#L182
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
Lint Source Code: cli/status/k8s.go#L184
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
Lint Source Code: cli/sysdump/sysdump.go#L2006
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
Lint Source Code: cli/sysdump/sysdump.go#L2042
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
Lint Source Code
issues found
Check Go Modules
Restore cache failed: Dependencies file is not found in /home/runner/work/cilium/cilium. Supported file pattern: go.sum
Generate API
Restore cache failed: Dependencies file is not found in /home/runner/work/cilium/cilium. Supported file pattern: go.sum
Precheck
Restore cache failed: Dependencies file is not found in /home/runner/work/cilium/cilium. Supported file pattern: go.sum
Check third party dependencies licenses
Restore cache failed: Dependencies file is not found in /home/runner/work/cilium/cilium. Supported file pattern: go.sum
Generate k8s API
Restore cache failed: Dependencies file is not found in /home/runner/work/cilium/cilium. Supported file pattern: go.sum
Lint Source Code
Restore cache failed: Dependencies file is not found in /home/runner/work/cilium/cilium. Supported file pattern: go.sum