Limitador sort function refactor #2944
code-style.yaml
on: pull_request
Lint
1m 54s
Matrix: Auto-format and Check
Annotations
6 errors and 7 warnings
Lint:
pkg/ratelimit/index.go#L165
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
Lint:
pkg/ratelimit/index.go#L179
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
Lint:
controllers/event_logger.go#L40
increment-decrement: should replace eventType[event.EventType.String()] += 1 with eventType[event.EventType.String()]++ (revive)
|
Lint:
pkg/ratelimit/index.go#L169
SA4014: this condition occurs multiple times in this if/else if chain (staticcheck)
|
Lint:
pkg/ratelimit/index.go#L183
SA4014: this condition occurs multiple times in this if/else if chain (staticcheck)
|
Lint
Process completed with exit code 2.
|
Auto-format and Check (gofmt)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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/
|