Skip to content

sotw: rlp workflow #2448

sotw: rlp workflow

sotw: rlp workflow #2448

Triggered via pull request October 15, 2024 21:21
@guicassolatoguicassolato
synchronize #893
sotw/rlp
Status Failure
Total duration 2m 12s
Artifacts

code-style.yaml

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

Annotations

5 errors and 8 warnings
Auto-format and Check (gofmt): pkg/wasm/utils.go#L1
Please run gofmt -s. diff --git a/pkg/wasm/utils.go b/pkg/wasm/utils.go index 11494da..71f01e9 100644 --- a/pkg/wasm/utils.go +++ b/pkg/wasm/utils.go @@ -50,7 +50,7 @@ func BuildActionSetsForPath(pathID string, path []machinery.Targetable, policyRu var err error - actions := lo.FilterMap(lo.Entries(policyRules), func(r lo.Entry[string, kuadrantv1.MergeableRule] , _ int) (Action, bool) { + actions := lo.FilterMap(lo.Entries(policyRules), func(r lo.Entry[string, kuadrantv1.MergeableRule], _ int) (Action, bool) { action, err := actionBuilder(r.Key, r.Value) if err != nil { errors.Join(err)
Auto-format and Check (gofmt)
Process completed with exit code 1.
Auto-format and Check (goimports): pkg/wasm/utils.go#L1
Please run goimports . diff --git a/pkg/wasm/utils.go b/pkg/wasm/utils.go index 11494da..71f01e9 100644 --- a/pkg/wasm/utils.go +++ b/pkg/wasm/utils.go @@ -50,7 +50,7 @@ func BuildActionSetsForPath(pathID string, path []machinery.Targetable, policyRu var err error - actions := lo.FilterMap(lo.Entries(policyRules), func(r lo.Entry[string, kuadrantv1.MergeableRule] , _ int) (Action, bool) { + actions := lo.FilterMap(lo.Entries(policyRules), func(r lo.Entry[string, kuadrantv1.MergeableRule], _ int) (Action, bool) { action, err := actionBuilder(r.Key, r.Value) if err != nil { errors.Join(err)
Auto-format and Check (goimports)
Process completed with exit code 1.
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/