Skip to content

lint fix

lint fix #8

Triggered via push February 7, 2024 13:44
Status Failure
Total duration 3m 3s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

44 errors and 7 warnings
local-deploy: apis/v1alpha1/register.go#L37
cannot use &StoreConfig{} (value of type *StoreConfig) as type runtime.Object in argument to SchemeBuilder.Register:
local-deploy: apis/v1alpha1/register.go#L37
cannot use &StoreConfigList{} (value of type *StoreConfigList) as type runtime.Object in argument to SchemeBuilder.Register:
local-deploy: apis/v1beta1/register.go#L50
cannot use &ProviderConfig{} (value of type *ProviderConfig) as type runtime.Object in argument to SchemeBuilder.Register:
local-deploy: apis/v1beta1/register.go#L50
cannot use &ProviderConfigList{} (value of type *ProviderConfigList) as type runtime.Object in argument to SchemeBuilder.Register:
local-deploy: apis/v1beta1/register.go#L51
cannot use &ProviderConfigUsage{} (value of type *ProviderConfigUsage) as type runtime.Object in argument to SchemeBuilder.Register:
local-deploy: apis/v1beta1/register.go#L51
cannot use &ProviderConfigUsageList{} (value of type *ProviderConfigUsageList) as type runtime.Object in argument to SchemeBuilder.Register:
local-deploy: config/beta/config.go#L11
syntax error: unexpected ..., expecting (
local-deploy: config/deprecated/config.go#L11
syntax error: unexpected ..., expecting (
local-deploy: apis/dhcp/v1alpha1/zz_generated.managedlist.go#L14
cannot use &l.Items[i] (value of type *PolicyDhcpRelay) as type "github.com/crossplane/crossplane-runtime/pkg/resource".Managed in assignment:
local-deploy: apis/dhcp/v1alpha1/zz_generated.managedlist.go#L23
cannot use &l.Items[i] (value of type *PolicyDhcpServer) as type "github.com/crossplane/crossplane-runtime/pkg/resource".Managed in assignment:
check-diff
syntax error: unexpected ..., expecting (
check-diff
syntax error: unexpected ..., expecting (
check-diff
no such file or directory
check-diff
Process completed with exit code 2.
unit-tests: config/beta/config.go#L11
syntax error: unexpected ..., expecting (
unit-tests: config/deprecated/config.go#L11
syntax error: unexpected ..., expecting (
unit-tests: apis/v1alpha1/register.go#L37
cannot use &StoreConfig{} (value of type *StoreConfig) as type runtime.Object in argument to SchemeBuilder.Register:
unit-tests: apis/v1alpha1/register.go#L37
cannot use &StoreConfigList{} (value of type *StoreConfigList) as type runtime.Object in argument to SchemeBuilder.Register:
unit-tests: apis/v1beta1/register.go#L50
cannot use &ProviderConfig{} (value of type *ProviderConfig) as type runtime.Object in argument to SchemeBuilder.Register:
unit-tests: apis/v1beta1/register.go#L50
cannot use &ProviderConfigList{} (value of type *ProviderConfigList) as type runtime.Object in argument to SchemeBuilder.Register:
unit-tests: apis/v1beta1/register.go#L51
cannot use &ProviderConfigUsage{} (value of type *ProviderConfigUsage) as type runtime.Object in argument to SchemeBuilder.Register:
unit-tests: apis/v1beta1/register.go#L51
cannot use &ProviderConfigUsageList{} (value of type *ProviderConfigUsageList) as type runtime.Object in argument to SchemeBuilder.Register:
unit-tests: apis/dhcp/v1alpha1/zz_generated.managedlist.go#L14
cannot use &l.Items[i] (value of type *PolicyDhcpRelay) as type "github.com/crossplane/crossplane-runtime/pkg/resource".Managed in assignment:
unit-tests: apis/dhcp/v1alpha1/zz_generated.managedlist.go#L23
cannot use &l.Items[i] (value of type *PolicyDhcpServer) as type "github.com/crossplane/crossplane-runtime/pkg/resource".Managed in assignment:
lint: apis/dhcp/v1alpha1/zz_generated.managed.go#L1
: # github.com/ankasoftco/provider-nsxt/apis/dhcp/v1alpha1
lint: apis/dhcp/v1alpha1/zz_generated.managedlist.go#L14
cannot use &l.Items[i] (value of type *PolicyDhcpRelay) as type "github.com/crossplane/crossplane-runtime/pkg/resource".Managed in assignment:
lint: apis/dhcp/v1alpha1/zz_generated.managedlist.go#L23
cannot use &l.Items[i] (value of type *PolicyDhcpServer) as type "github.com/crossplane/crossplane-runtime/pkg/resource".Managed in assignment:
lint: apis/dhcp/v1alpha1/zz_generated.managedlist.go#L32
cannot use &l.Items[i] (value of type *PolicyDhcpV4StaticBinding) as type "github.com/crossplane/crossplane-runtime/pkg/resource".Managed in assignment:
lint: apis/dhcp/v1alpha1/zz_generated.managedlist.go#L41
cannot use &l.Items[i] (value of type *PolicyDhcpV6StaticBinding) as type "github.com/crossplane/crossplane-runtime/pkg/resource".Managed in assignment:
lint: apis/dhcp/v1alpha1/zz_policydhcprelay_types.go#L162
cannot use &PolicyDhcpRelay{} (value of type *PolicyDhcpRelay) as type runtime.Object in argument to SchemeBuilder.Register:
lint: apis/dhcp/v1alpha1/zz_policydhcprelay_types.go#L162
cannot use &PolicyDhcpRelayList{} (value of type *PolicyDhcpRelayList) as type runtime.Object in argument to SchemeBuilder.Register:
lint: apis/dhcp/v1alpha1/zz_policydhcpserver_types.go#L184
cannot use &PolicyDhcpServer{} (value of type *PolicyDhcpServer) as type runtime.Object in argument to SchemeBuilder.Register:
lint: apis/dhcp/v1alpha1/zz_policydhcpserver_types.go#L184
cannot use &PolicyDhcpServerList{} (value of type *PolicyDhcpServerList) as type runtime.Object in argument to SchemeBuilder.Register:
lint: apis/dhcp/v1alpha1/zz_policydhcpv4staticbinding_types.go#L263
cannot use &PolicyDhcpV4StaticBinding{} (value of type *PolicyDhcpV4StaticBinding) as type runtime.Object in argument to SchemeBuilder.Register:
publish-artifacts: apis/v1alpha1/register.go#L37
cannot use &StoreConfig{} (value of type *StoreConfig) as type runtime.Object in argument to SchemeBuilder.Register:
publish-artifacts: apis/v1alpha1/register.go#L37
cannot use &StoreConfigList{} (value of type *StoreConfigList) as type runtime.Object in argument to SchemeBuilder.Register:
publish-artifacts: apis/v1beta1/register.go#L50
cannot use &ProviderConfig{} (value of type *ProviderConfig) as type runtime.Object in argument to SchemeBuilder.Register:
publish-artifacts: apis/v1beta1/register.go#L50
cannot use &ProviderConfigList{} (value of type *ProviderConfigList) as type runtime.Object in argument to SchemeBuilder.Register:
publish-artifacts: apis/v1beta1/register.go#L51
cannot use &ProviderConfigUsage{} (value of type *ProviderConfigUsage) as type runtime.Object in argument to SchemeBuilder.Register:
publish-artifacts: apis/v1beta1/register.go#L51
cannot use &ProviderConfigUsageList{} (value of type *ProviderConfigUsageList) as type runtime.Object in argument to SchemeBuilder.Register:
publish-artifacts: apis/v1alpha1/register.go#L37
cannot use &StoreConfig{} (value of type *StoreConfig) as type runtime.Object in argument to SchemeBuilder.Register:
publish-artifacts: apis/v1alpha1/register.go#L37
cannot use &StoreConfigList{} (value of type *StoreConfigList) as type runtime.Object in argument to SchemeBuilder.Register:
publish-artifacts: apis/v1beta1/register.go#L50
cannot use &ProviderConfig{} (value of type *ProviderConfig) as type runtime.Object in argument to SchemeBuilder.Register:
publish-artifacts: apis/v1beta1/register.go#L50
cannot use &ProviderConfigList{} (value of type *ProviderConfigList) as type runtime.Object in argument to SchemeBuilder.Register:
detect-noop
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: fkirc/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
report-breaking-changes
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, tj-actions/glob@v16. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
local-deploy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
check-diff
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568, actions/cache@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/.
publish-artifacts
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7, docker/setup-buildx-action@v2, docker/login-action@v2, actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.