Skip to content

feat: accepted policy status condition #679

feat: accepted policy status condition

feat: accepted policy status condition #679

Triggered via pull request December 13, 2023 10:43
Status Failure
Total duration 1m 45s
Artifacts

code-style.yaml

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

Annotations

12 errors and 5 warnings
Auto-format and Check (goimports): pkg/common/apimachinery_status_conditions.go#L1
Please run goimports . diff --git a/pkg/common/apimachinery_status_conditions.go b/pkg/common/apimachinery_status_conditions.go index f2c9410..a0f8640 100644 --- a/pkg/common/apimachinery_status_conditions.go +++ b/pkg/common/apimachinery_status_conditions.go @@ -2,7 +2,6 @@ package common import ( "encoding/json" - "fmt" "slices" "sort"
Auto-format and Check (goimports)
Process completed with exit code 1.
Lint: pkg/common/apimachinery_status_conditions.go#L5
"fmt" imported and not used (typecheck)
Lint: api/v1beta1/kuadrant_types.go#L24
could not import github.com/kuadrant/kuadrant-operator/pkg/common (-: # github.com/kuadrant/kuadrant-operator/pkg/common
Lint: pkg/common/apimachinery_status_conditions.go#L5
"fmt" imported and not used) (typecheck)
Lint: api/v1beta2/authpolicy_types.go#L14
could not import github.com/kuadrant/kuadrant-operator/pkg/common (-: # github.com/kuadrant/kuadrant-operator/pkg/common
Lint: pkg/common/apimachinery_status_conditions.go#L5
"fmt" imported and not used) (typecheck)
Lint: pkg/istio/envoy_filters.go#L11
could not import github.com/kuadrant/kuadrant-operator/pkg/common (-: # github.com/kuadrant/kuadrant-operator/pkg/common
Lint: pkg/common/apimachinery_status_conditions.go#L5
"fmt" imported and not used) (typecheck)
Lint: controllers/authpolicy_authconfig.go#L32
r.SetOwnerReference undefined (type *AuthPolicyReconciler has no field or method SetOwnerReference) (typecheck)
Lint: controllers/authpolicy_authconfig.go#L37
r.ReconcileResource undefined (type *AuthPolicyReconciler has no field or method ReconcileResource) (typecheck)
Lint: controllers/authpolicy_authconfig.go#L68
r.Client undefined (type *AuthPolicyReconciler has no field or method Client) (typecheck)
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
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
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
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/