Skip to content

Update module github.com/metal3-io/baremetal-operator/apis to v0.5.0 - autoclosed #520

Update module github.com/metal3-io/baremetal-operator/apis to v0.5.0 - autoclosed

Update module github.com/metal3-io/baremetal-operator/apis to v0.5.0 - autoclosed #520

Triggered via pull request January 13, 2024 05:21
Status Failure
Total duration 2m 47s
Artifacts

golangci-lint.yaml

on: pull_request
github (govet, golint and gotest)
56s
github (govet, golint and gotest)
github (golangci)
2m 5s
github (golangci)
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
github (govet, golint and gotest): api/v1beta1/openstackbaremetalset_webhook.go#L58
cannot use &OpenStackBaremetalSet{} (value of type *OpenStackBaremetalSet) as type admission.Validator in variable declaration:
github (govet, golint and gotest): api/v1beta1/openstackprovisionserver_webhook.go#L58
cannot use &OpenStackProvisionServer{} (value of type *OpenStackProvisionServer) as type admission.Validator in variable declaration:
github (govet, golint and gotest)
Process completed with exit code 1.
github (golangci): pkg/openstackbaremetalset/baremetalhost.go#L14
could not import github.com/openstack-k8s-operators/openstack-baremetal-operator/api/v1beta1 (-: # github.com/openstack-k8s-operators/openstack-baremetal-operator/api/v1beta1
github (golangci): pkg/openstackprovisionserver/deployment.go#L21
could not import github.com/openstack-k8s-operators/openstack-baremetal-operator/api/v1beta1 (-: # github.com/openstack-k8s-operators/openstack-baremetal-operator/api/v1beta1
github (golangci): main.go#L40
could not import github.com/openstack-k8s-operators/openstack-baremetal-operator/api/v1beta1 (-: # github.com/openstack-k8s-operators/openstack-baremetal-operator/api/v1beta1
github (golangci): main.go#L146
srv.TLSOpts undefined (type webhook.Server has no field or method TLSOpts) (typecheck)
github (golangci): controllers/openstackbaremetalset_controller.go#L162
cannot use (func(o client.Object) []reconcile.Request literal) (value of type func(o client.Object) []reconcile.Request) as handler.MapFunc value in argument to handler.EnqueueRequestsFromMapFunc (typecheck)
github (golangci): controllers/openstackbaremetalset_controller.go#L185
source.Kind (value of type func(cache "sigs.k8s.io/controller-runtime/pkg/cache".Cache, object client.Object) source.SyncingSource) is not a type (typecheck)
github (golangci)
issues found
github (govet, golint and gotest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
github (golangci)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
github (golangci)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
github (golangci)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/