Skip to content

update go.mod to specify Go version and upgrade dependencies #211

update go.mod to specify Go version and upgrade dependencies

update go.mod to specify Go version and upgrade dependencies #211

Triggered via pull request January 16, 2025 16:25
Status Failure
Total duration 4m 17s
Artifacts

approve-to-run-ci.yml

on: pull_request
Matrix: golangci-lint
Go mod tidy
0s
Go mod tidy
Code Coverage
0s
Code Coverage
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
golangci-lint (ubuntu-22.04, 1.23.x): main.go#L1
: # github.com/layer5io/meshery-operator
golangci-lint (ubuntu-22.04, 1.23.x): main.go#L64
unknown field MetricsBindAddress in struct literal of type manager.Options
golangci-lint (ubuntu-22.04, 1.23.x): main.go#L65
unknown field Port in struct literal of type manager.Options (typecheck)
golangci-lint (ubuntu-22.04, 1.23.x): api/v1alpha1/broker_types.go#L1
: # github.com/layer5io/meshery-operator/api/v1alpha1 [github.com/layer5io/meshery-operator/api/v1alpha1.test]
golangci-lint (ubuntu-22.04, 1.23.x): api/v1alpha1/meshsync_types_test.go#L146
cannot use &client.UpdateOptions{…} (value of type *client.UpdateOptions) as client.SubResourceUpdateOption value in argument to fakeClient.Status().Update: *client.UpdateOptions does not implement client.SubResourceUpdateOption (missing method ApplyToSubResourceUpdate) (typecheck)
golangci-lint (ubuntu-22.04, 1.23.x): controllers/broker_controller.go#L1
: # github.com/layer5io/meshery-operator/controllers [github.com/layer5io/meshery-operator/controllers.test]
golangci-lint (ubuntu-22.04, 1.23.x): controllers/suit_test.go#L97
unknown field MetricsBindAddress in struct literal of type manager.Options
golangci-lint (ubuntu-22.04, 1.23.x): controllers/suit_test.go#L99
unknown field Port in struct literal of type manager.Options (typecheck)
golangci-lint (ubuntu-22.04, 1.23.x)
issues found
golangci-lint (ubuntu-22.04, 1.23.x)
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.