Skip to content

Update GitHub Actions workflows to use setup-go@v5 and golangci-lint-action@v6; refactor error formatting and import statements #370

Update GitHub Actions workflows to use setup-go@v5 and golangci-lint-action@v6; refactor error formatting and import statements

Update GitHub Actions workflows to use setup-go@v5 and golangci-lint-action@v6; refactor error formatting and import statements #370

Triggered via pull request December 28, 2024 15:47
Status Failure
Total duration 2m 52s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 8 warnings
Check & Review code: cilium/cilium.go#L59
undefined: yaml (typecheck)
Check & Review code: cilium/cilium.go#L66
h.KubeconfigHandler undefined (type *Cilium has no field or method KubeconfigHandler) (typecheck)
Check & Review code: cilium/cilium.go#L67
h.KubeconfigHandler undefined (type *Cilium has no field or method KubeconfigHandler) (typecheck)
Check & Review code: cilium/cilium.go#L68
h.KubeconfigHandler undefined (type *Cilium has no field or method KubeconfigHandler) (typecheck)
Check & Review code: cilium/cilium.go#L108
h.Config undefined (type *Cilium has no field or method Config) (typecheck)
Check & Review code: cilium/cilium.go#L143
hh.StreamErr undefined (type *Cilium has no field or method StreamErr, but does have streamErr) (typecheck)
Check & Review code: cilium/cilium.go#L148
hh.StreamInfo undefined (type *Cilium has no field or method StreamInfo) (typecheck)
Check & Review code: cilium/cilium.go#L165
hh.StreamInfo undefined (type *Cilium has no field or method StreamInfo) (typecheck)
Check & Review code: cilium/cilium.go#L170
hh.RunSMITest undefined (type *Cilium has no field or method RunSMITest) (typecheck)
Check & Review code: cilium/cilium.go#L188
hh.StreamInfo undefined (type *Cilium has no field or method StreamInfo) (typecheck)
Static check
Process completed with exit code 1.
Static check
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Error code utility check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Security check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check & Review code
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check & Review code
Restore cache failed: Dependencies file is not found in /home/runner/work/meshery-cilium/meshery-cilium. Supported file pattern: go.sum
Error check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Vet
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636