Skip to content

ratelimitpolicy v1beta3 #2258

ratelimitpolicy v1beta3

ratelimitpolicy v1beta3 #2258

Triggered via pull request October 2, 2024 08:53
Status Failure
Total duration 2m 1s
Artifacts

code-style.yaml

on: pull_request
Matrix: Auto-format and Check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
Lint: api/v1beta3/ratelimitpolicy_types.go#L256
cannot use r.Spec.TargetRef (variable of type "sigs.k8s.io/gateway-api/apis/v1alpha2".LocalPolicyTargetReferenceWithSectionName) as "sigs.k8s.io/gateway-api/apis/v1alpha2".LocalPolicyTargetReference value in return statement
Lint: api/v1beta3/topology.go#L20
cannot use r.Spec.TargetRef (variable of type "sigs.k8s.io/gateway-api/apis/v1alpha2".LocalPolicyTargetReferenceWithSectionName) as "sigs.k8s.io/gateway-api/apis/v1alpha2".LocalPolicyTargetReference value in struct literal (typecheck)
Lint: api/v1beta2/route_selectors.go#L4
could not import github.com/kuadrant/kuadrant-operator/api/v1beta3 (-: # github.com/kuadrant/kuadrant-operator/api/v1beta3
Lint: api/v1beta3/ratelimitpolicy_types.go#L256
cannot use r.Spec.TargetRef (variable of type "sigs.k8s.io/gateway-api/apis/v1alpha2".LocalPolicyTargetReferenceWithSectionName) as "sigs.k8s.io/gateway-api/apis/v1alpha2".LocalPolicyTargetReference value in return statement
Lint: api/v1beta3/topology.go#L20
cannot use r.Spec.TargetRef (variable of type "sigs.k8s.io/gateway-api/apis/v1alpha2".LocalPolicyTargetReferenceWithSectionName) as "sigs.k8s.io/gateway-api/apis/v1alpha2".LocalPolicyTargetReference value in struct literal) (typecheck)
Lint: pkg/rlptools/wasm/types.go#L11
could not import github.com/kuadrant/kuadrant-operator/api/v1beta3 (-: # github.com/kuadrant/kuadrant-operator/api/v1beta3
Lint: api/v1beta3/ratelimitpolicy_types.go#L256
cannot use r.Spec.TargetRef (variable of type "sigs.k8s.io/gateway-api/apis/v1alpha2".LocalPolicyTargetReferenceWithSectionName) as "sigs.k8s.io/gateway-api/apis/v1alpha2".LocalPolicyTargetReference value in return statement
Lint: api/v1beta3/topology.go#L20
cannot use r.Spec.TargetRef (variable of type "sigs.k8s.io/gateway-api/apis/v1alpha2".LocalPolicyTargetReferenceWithSectionName) as "sigs.k8s.io/gateway-api/apis/v1alpha2".LocalPolicyTargetReference value in struct literal) (typecheck)
Lint: pkg/rlptools/wasm/utils.go#L52
cannot infer K (/home/runner/go/pkg/mod/github.com/samber/[email protected]/map.go:5:11) (typecheck)
Lint: pkg/rlptools/wasm/utils.go#L53
cannot infer S (/opt/hostedtoolcache/go/1.22.7/x64/src/slices/sort.go:16:11) (typecheck)
Auto-format and Check (gofmt)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Auto-format and Check (gofmt)
Restore cache failed: Dependencies file is not found in /home/runner/work/kuadrant-operator/kuadrant-operator. Supported file pattern: go.sum
Auto-format and Check (goimports)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Auto-format and Check (goimports)
Restore cache failed: Dependencies file is not found in /home/runner/work/kuadrant-operator/kuadrant-operator. Supported file pattern: go.sum
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: andstor/file-existence-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, andstor/file-existence-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/kuadrant-operator/kuadrant-operator. Supported file pattern: go.sum
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/