Skip to content

CEL Support

CEL Support #1284

Triggered via pull request October 15, 2024 11:15
@alexsnapsalexsnaps
synchronize #495
cel
Status Failure
Total duration 34s
Artifacts

code-style.yaml

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

Annotations

4 errors and 8 warnings
Auto-format and Check (goimports): controllers/auth_config_controller.go#L1
Please run goimports . diff --git a/controllers/auth_config_controller.go b/controllers/auth_config_controller.go index 5b4c120..5ac942c 100644 --- a/controllers/auth_config_controller.go +++ b/controllers/auth_config_controller.go @@ -19,10 +19,11 @@ package controllers import ( "context" "fmt" - "github.com/kuadrant/authorino/pkg/expressions/cel" "sort" "sync" + "github.com/kuadrant/authorino/pkg/expressions/cel" + api "github.com/kuadrant/authorino/api/v1beta2" "github.com/kuadrant/authorino/pkg/auth" "github.com/kuadrant/authorino/pkg/evaluators"
Auto-format and Check (goimports): pkg/evaluators/response/dynamic_cel.go#L1
Please run goimports . diff --git a/pkg/evaluators/response/dynamic_cel.go b/pkg/evaluators/response/dynamic_cel.go index c5e709c..d538c5b 100644 --- a/pkg/evaluators/response/dynamic_cel.go +++ b/pkg/evaluators/response/dynamic_cel.go @@ -2,6 +2,7 @@ package response import ( "context" + interpreter "github.com/google/cel-go/cel" "github.com/kuadrant/authorino/pkg/auth" "github.com/kuadrant/authorino/pkg/expressions/cel"
Auto-format and Check (goimports): pkg/expressions/cel/expressions.go#L1
Please run goimports . diff --git a/pkg/expressions/cel/expressions.go b/pkg/expressions/cel/expressions.go index 87d58e7..3a434b0 100644 --- a/pkg/expressions/cel/expressions.go +++ b/pkg/expressions/cel/expressions.go @@ -2,11 +2,12 @@ package cel import ( "fmt" - "github.com/golang/protobuf/jsonpb" - "github.com/google/cel-go/checker/decls" "reflect" "strings" + "github.com/golang/protobuf/jsonpb" + "github.com/google/cel-go/checker/decls" + "github.com/google/cel-go/cel" "github.com/google/cel-go/common/types/ref" "google.golang.org/protobuf/encoding/protojson"
Auto-format and Check (goimports)
Process completed with exit code 1.
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/authorino/authorino. 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/authorino/authorino. 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/authorino/authorino. 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/