Skip to content

Bump sigs.k8s.io/cluster-api from 1.4.4 to 1.7.0 #1772

Bump sigs.k8s.io/cluster-api from 1.4.4 to 1.7.0

Bump sigs.k8s.io/cluster-api from 1.4.4 to 1.7.0 #1772

Triggered via pull request April 22, 2024 16:42
Status Failure
Total duration 2m 45s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
golangci: common/bootstraptoken/token.go#L10
could not import github.com/vmware-tanzu/cluster-api-provider-bringyourownhost/apis/infrastructure/v1beta1 (-: # github.com/vmware-tanzu/cluster-api-provider-bringyourownhost/apis/infrastructure/v1beta1
golangci: apis/infrastructure/v1beta1/bootstrapkubeconfig_webhook.go#L32
cannot use &BootstrapKubeconfig{} (value of type *BootstrapKubeconfig) as admission.Validator value in variable declaration: *BootstrapKubeconfig does not implement admission.Validator (wrong type for method ValidateCreate)
golangci: common/bootstraptoken/token.go#L59
tokenID declared and not used (typecheck)
golangci: controllers/infrastructure/bootstrapkubeconfig_controller.go#L11
could not import github.com/vmware-tanzu/cluster-api-provider-bringyourownhost/apis/infrastructure/v1beta1 (-: # github.com/vmware-tanzu/cluster-api-provider-bringyourownhost/apis/infrastructure/v1beta1
golangci: apis/infrastructure/v1beta1/bootstrapkubeconfig_webhook.go#L32
cannot use &BootstrapKubeconfig{} (value of type *BootstrapKubeconfig) as admission.Validator value in variable declaration: *BootstrapKubeconfig does not implement admission.Validator (wrong type for method ValidateCreate)
golangci: controllers/infrastructure/byocluster_controller.go#L190
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)
golangci: controllers/infrastructure/byomachine_controller.go#L333
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)
golangci: controllers/infrastructure/byomachine_controller.go#L338
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)
golangci: controllers/infrastructure/byomachine_controller.go#L352
cannot use (func(o client.Object) []ctrl.Request literal) (value of type func(o client.Object) []reconcile.Request) as handler.MapFunc value in return statement (typecheck)
golangci: controllers/infrastructure/byomachine_controller.go#L573
cannot use (func(o client.Object) []reconcile.Request literal) (value of type func(o client.Object) []reconcile.Request) as handler.MapFunc value in return statement (typecheck)
golangci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@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/.
golangci
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
golangci
Restore cache failed: Dependencies file is not found in /home/runner/work/cluster-api-provider-bringyourownhost/cluster-api-provider-bringyourownhost. Supported file pattern: go.sum
golangci
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']