Skip to content

chore: update controller-runtime version #3250

chore: update controller-runtime version

chore: update controller-runtime version #3250

Triggered via pull request April 8, 2024 09:21
Status Failure
Total duration 1m 36s
Artifacts

test.yaml

on: pull_request
Matrix: e2e-test
codecov
0s
codecov
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 2 warnings
lint: main.go#L41
could not import github.com/emqx/emqx-operator/apis/apps/v1beta4 (-: # github.com/emqx/emqx-operator/apis/apps/v1beta4
lint: apis/apps/v1beta4/emqxbroker_webhook.go#L64
cannot use &EmqxBroker{} (value of type *EmqxBroker) as admission.Validator value in variable declaration: *EmqxBroker does not implement admission.Validator (wrong type for method ValidateCreate)
lint: apis/apps/v1beta4/emqxenterprise_webhook.go#L54
cannot use &EmqxEnterprise{} (value of type *EmqxEnterprise) as admission.Validator value in variable declaration: *EmqxEnterprise does not implement admission.Validator (wrong type for method ValidateCreate)
lint: apis/apps/v1beta4/emqxplugin_webhook.go#L53
cannot use &EmqxPlugin{} (value of type *EmqxPlugin) as admission.Validator value in variable declaration: *EmqxPlugin does not implement admission.Validator (wrong type for method ValidateCreate)
lint: apis/apps/v1beta3/emqxbroker_conversion.go#L24
could not import github.com/emqx/emqx-operator/apis/apps/v1beta4 (-: # github.com/emqx/emqx-operator/apis/apps/v1beta4
lint: apis/apps/v1beta4/emqxbroker_webhook.go#L64
cannot use &EmqxBroker{} (value of type *EmqxBroker) as admission.Validator value in variable declaration: *EmqxBroker does not implement admission.Validator (wrong type for method ValidateCreate)
unit-test: apis/apps/v1beta4/emqxbroker_webhook.go#L64
cannot use &EmqxBroker{} (value of type *EmqxBroker) as admission.Validator value in variable declaration: *EmqxBroker does not implement admission.Validator (wrong type for method ValidateCreate)
unit-test: apis/apps/v1beta4/emqxenterprise_webhook.go#L54
cannot use &EmqxEnterprise{} (value of type *EmqxEnterprise) as admission.Validator value in variable declaration: *EmqxEnterprise does not implement admission.Validator (wrong type for method ValidateCreate)
lint: apis/apps/v1beta4/emqxenterprise_webhook.go#L54
cannot use &EmqxEnterprise{} (value of type *EmqxEnterprise) as admission.Validator value in variable declaration: *EmqxEnterprise does not implement admission.Validator (wrong type for method ValidateCreate)
unit-test: apis/apps/v1beta4/emqxplugin_webhook.go#L53
cannot use &EmqxPlugin{} (value of type *EmqxPlugin) as admission.Validator value in variable declaration: *EmqxPlugin does not implement admission.Validator (wrong type for method ValidateCreate)
lint: apis/apps/v1beta4/emqxplugin_webhook.go#L53
cannot use &EmqxPlugin{} (value of type *EmqxPlugin) as admission.Validator value in variable declaration: *EmqxPlugin does not implement admission.Validator (wrong type for method ValidateCreate)
unit-test
cannot use &EmqxBroker{} (value of type *EmqxBroker) as admission.Validator value in variable declaration: *EmqxBroker does not implement admission.Validator (wrong type for method ValidateCreate)
lint: apis/apps/v1beta4/emqxbroker_conversion.go#L1
: # github.com/emqx/emqx-operator/apis/apps/v1beta4 [github.com/emqx/emqx-operator/apis/apps/v1beta4.test]
unit-test
multiple-value rebalance.ValidateCreate() (value of type (admission.Warnings, error)) in single-value context
lint: apis/apps/v1beta4/emqxbroker_webhook.go#L64
cannot use &EmqxBroker{} (value of type *EmqxBroker) as admission.Validator value in variable declaration: *EmqxBroker does not implement admission.Validator (wrong type for method ValidateCreate)
unit-test
Process completed with exit code 2.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.