Skip to content

broken compile, working generation #405

broken compile, working generation

broken compile, working generation #405

Triggered via pull request July 15, 2024 15:50
Status Failure
Total duration 1m 37s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
go-unit: operator/bucketcontroller/setup.go#L55
cannot use &BucketValidator{…} (value of type *BucketValidator) as admission.CustomValidator value in argument to ctrl.NewWebhookManagedBy(mgr).For(&cloudscalev1.Bucket{}).WithValidator: *BucketValidator does not implement admission.CustomValidator (wrong type for method ValidateCreate)
go-unit: operator/configcontroller/setup.go#L31
source.Kind (value of type func[T client.Object](cache "sigs.k8s.io/controller-runtime/pkg/cache".Cache, object T, handler handler.TypedEventHandler[T], predicates ...predicate.TypedPredicate[T]) source.SyncingSource) is not a type
go-unit: operator/configcontroller/setup.go#L31
cannot use &resource.EnqueueRequestForProviderConfig{} (value of type *"github.com/crossplane/crossplane-runtime/pkg/resource".EnqueueRequestForProviderConfig) as handler.EventHandler value in argument to ctrl.NewControllerManagedBy(mgr).Named(name).For(&providerv1.ProviderConfig{}).Watches: *"github.com/crossplane/crossplane-runtime/pkg/resource".EnqueueRequestForProviderConfig does not implement handler.EventHandler (wrong type for method Create)
go-unit
Process completed with exit code 2.
go-unit
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/