Update module github.com/metal3-io/baremetal-operator/apis to v0.4.0 #333
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
golangci-lint.yaml
on: pull_request
github (govet, golint and gotest)
1m 31s
github (golangci)
2m 17s
Annotations
9 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#L39
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):
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/
|