Skip to content

refactor: sotw conventions #2299

refactor: sotw conventions

refactor: sotw conventions #2299

Triggered via pull request October 4, 2024 09:53
Status Failure
Total duration 1m 57s
Artifacts

code-style.yaml

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

Annotations

8 errors and 8 warnings
Auto-format and Check (gofmt): controllers/istio_extensions_janitor.go#L1
Please run gofmt -s. diff --git a/controllers/istio_extensions_janitor.go b/controllers/istio_extensions_janitor.go index fc12296..5145328 100644 --- a/controllers/istio_extensions_janitor.go +++ b/controllers/istio_extensions_janitor.go @@ -16,4 +16,3 @@ func NewIstioExtensionsJanitor(client *dynamic.DynamicClient) *IstioExtensionsJa func (r *IstioExtensionsJanitor) Subscription() *controller.Subscription { return &controller.Subscription{} } -
Auto-format and Check (gofmt)
Process completed with exit code 1.
Auto-format and Check (goimports): controllers/istio_extensions_janitor.go#L1
Please run goimports . diff --git a/controllers/istio_extensions_janitor.go b/controllers/istio_extensions_janitor.go index fc12296..5145328 100644 --- a/controllers/istio_extensions_janitor.go +++ b/controllers/istio_extensions_janitor.go @@ -16,4 +16,3 @@ func NewIstioExtensionsJanitor(client *dynamic.DynamicClient) *IstioExtensionsJa func (r *IstioExtensionsJanitor) Subscription() *controller.Subscription { return &controller.Subscription{} } -
Auto-format and Check (goimports)
Process completed with exit code 1.
Lint: main.go#L55
could not import github.com/kuadrant/kuadrant-operator/controllers (-: # github.com/kuadrant/kuadrant-operator/controllers
Lint: controllers/authorino_reconciler.go#L112
undefined: v1beta1.AuthorinoResource) (typecheck)
Lint: controllers/authorino_reconciler.go#L112
undefined: v1beta1.AuthorinoResource (typecheck)
Lint
Process completed with exit code 2.
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/