Skip to content

fix build time errors #7

fix build time errors

fix build time errors #7

Triggered via push October 21, 2024 11:35
Status Failure
Total duration 3m 1s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 6 warnings
check-diff: apis/key/v1alpha1/key_types.go#L36
found float, the usage of which is highly discouraged, as support for them varies across languages. Please consider serializing your float as string instead. If you are really sure you want to use them, re-run with crd:allowDangerousTypes=true
check-diff
Process completed with exit code 2.
unit-tests: apis/key/v1alpha1/key_types.go#L96
cannot use &Key{} (value of type *Key) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *Key does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
unit-tests: apis/key/v1alpha1/key_types.go#L96
cannot use &KeyList{} (value of type *KeyList) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *KeyList does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
unit-tests: apis/team/v1alpha1/team_types.go#L85
cannot use &Team{} (value of type *Team) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *Team does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
unit-tests: apis/team/v1alpha1/team_types.go#L85
cannot use &TeamList{} (value of type *TeamList) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *TeamList does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
unit-tests
Process completed with exit code 2.
publish-artifacts: apis/key/v1alpha1/key_types.go#L96
cannot use &Key{} (value of type *Key) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *Key does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
publish-artifacts: apis/key/v1alpha1/key_types.go#L96
cannot use &KeyList{} (value of type *KeyList) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *KeyList does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
publish-artifacts: apis/key/v1alpha1/key_types.go#L96
cannot use &Key{} (value of type *Key) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *Key does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
publish-artifacts: apis/key/v1alpha1/key_types.go#L96
cannot use &KeyList{} (value of type *KeyList) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *KeyList does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
publish-artifacts
Process completed with exit code 2.
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
lint
Cannot open: File exists
detect-noop
The following actions use a deprecated Node.js version and will be forced to run on node20: fkirc/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check-diff
The following actions use a deprecated Node.js version 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/
unit-tests
The following actions use a deprecated Node.js version 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/
publish-artifacts
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, 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/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2