Skip to content

Use auto bump functionality in release charts #5813

Use auto bump functionality in release charts

Use auto bump functionality in release charts #5813

Triggered via pull request February 20, 2025 16:30
Status Failure
Total duration 4m 11s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: integrationtests/gitjob/controller/suite_test.go#L28
corev1 redeclared in this block
golangci-lint: integrationtests/gitjob/controller/suite_test.go#L18
other declaration of corev1
golangci-lint: integrationtests/gitjob/controller/suite_test.go#L28
"k8s.io/api/core/v1" imported as corev1 and not used (typecheck)
golangci-lint: internal/cmd/controller/gitops/reconciler/gitjob_test.go#L1040
cannot use fake.NewFakeClient(&corev1.Secret{…}) (value of type "sigs.k8s.io/controller-runtime/pkg/client".WithWatch) as testClientType value in struct literal
golangci-lint: internal/cmd/controller/gitops/reconciler/gitjob_test.go#L1145
cannot use fake.NewFakeClient(&corev1.Secret{…}, &corev1.Secret{…}) (value of type "sigs.k8s.io/controller-runtime/pkg/client".WithWatch) as testClientType value in struct literal
golangci-lint: internal/cmd/controller/gitops/reconciler/gitjob_test.go#L1215
cannot use fake.NewFakeClient() (value of type "sigs.k8s.io/controller-runtime/pkg/client".WithWatch) as testClientType value in struct literal (typecheck)
golangci-lint: internal/cmd/controller/gitops/reconciler/restrictions_test.go#L17
could not import github.com/rancher/fleet/internal/cmd/controller/gitops/reconciler (-: # github.com/rancher/fleet/internal/cmd/controller/gitops/reconciler [github.com/rancher/fleet/internal/cmd/controller/gitops/reconciler.test]
golangci-lint: internal/cmd/controller/gitops/reconciler/gitjob_test.go#L1040
cannot use fake.NewFakeClient(&corev1.Secret{…}) (value of type "sigs.k8s.io/controller-runtime/pkg/client".WithWatch) as testClientType value in struct literal
golangci-lint: internal/cmd/controller/gitops/reconciler/gitjob_test.go#L1145
cannot use fake.NewFakeClient(&corev1.Secret{…}, &corev1.Secret{…}) (value of type "sigs.k8s.io/controller-runtime/pkg/client".WithWatch) as testClientType value in struct literal
golangci-lint: internal/cmd/controller/gitops/reconciler/gitjob_test.go#L1215
cannot use fake.NewFakeClient() (value of type "sigs.k8s.io/controller-runtime/pkg/client".WithWatch) as testClientType value in struct literal) (typecheck)