sotw: rlp workflow #2426
code-style.yaml
on: pull_request
Lint
1m 48s
Matrix: Auto-format and Check
Annotations
8 errors and 8 warnings
Auto-format and Check (gofmt):
tests/envoygateway/envoygateway_limitador_cluster_controller_test.go#L1
Please run gofmt -s.
diff --git a/tests/envoygateway/envoygateway_limitador_cluster_controller_test.go b/tests/envoygateway/envoygateway_limitador_cluster_controller_test.go
index 39b498d..cb41fb0 100644
--- a/tests/envoygateway/envoygateway_limitador_cluster_controller_test.go
+++ b/tests/envoygateway/envoygateway_limitador_cluster_controller_test.go
@@ -132,7 +132,7 @@ var _ = Describe("limitador cluster controller", func() {
It("Creates envoypatchpolicy for limitador cluster", func(ctx SpecContext) {
patchKey := client.ObjectKey{
- Name: controllers.RateLimitClusterName(TestGatewayName),
+ Name: controllers.RateLimitClusterName(TestGatewayName),
Namespace: testNamespace,
}
@@ -202,7 +202,7 @@ var _ = Describe("limitador cluster controller", func() {
Expect(err).ToNot(HaveOccurred())
patchKey := client.ObjectKey{
- Name: controllers.RateLimitClusterName(TestGatewayName),
+ Name: controllers.RateLimitClusterName(TestGatewayName),
Namespace: testNamespace,
}
@@ -219,7 +219,7 @@ var _ = Describe("limitador cluster controller", func() {
Expect(err).ToNot(HaveOccurred())
patchKey := client.ObjectKey{
- Name: controllers.RateLimitClusterName(TestGatewayName),
+ Name: controllers.RateLimitClusterName(TestGatewayName),
Namespace: testNamespace,
}
|
Auto-format and Check (gofmt)
Process completed with exit code 1.
|
Auto-format and Check (goimports):
tests/envoygateway/envoygateway_limitador_cluster_controller_test.go#L1
Please run goimports .
diff --git a/tests/envoygateway/envoygateway_limitador_cluster_controller_test.go b/tests/envoygateway/envoygateway_limitador_cluster_controller_test.go
index 39b498d..cb41fb0 100644
--- a/tests/envoygateway/envoygateway_limitador_cluster_controller_test.go
+++ b/tests/envoygateway/envoygateway_limitador_cluster_controller_test.go
@@ -132,7 +132,7 @@ var _ = Describe("limitador cluster controller", func() {
It("Creates envoypatchpolicy for limitador cluster", func(ctx SpecContext) {
patchKey := client.ObjectKey{
- Name: controllers.RateLimitClusterName(TestGatewayName),
+ Name: controllers.RateLimitClusterName(TestGatewayName),
Namespace: testNamespace,
}
@@ -202,7 +202,7 @@ var _ = Describe("limitador cluster controller", func() {
Expect(err).ToNot(HaveOccurred())
patchKey := client.ObjectKey{
- Name: controllers.RateLimitClusterName(TestGatewayName),
+ Name: controllers.RateLimitClusterName(TestGatewayName),
Namespace: testNamespace,
}
@@ -219,7 +219,7 @@ var _ = Describe("limitador cluster controller", func() {
Expect(err).ToNot(HaveOccurred())
patchKey := client.ObjectKey{
- Name: controllers.RateLimitClusterName(TestGatewayName),
+ Name: controllers.RateLimitClusterName(TestGatewayName),
Namespace: testNamespace,
}
|
Auto-format and Check (goimports)
Process completed with exit code 1.
|
Lint:
pkg/ratelimit/index.go#L21
exported: type name will be used as ratelimit.RateLimitIndex by other packages, and that stutters; consider calling this Index (revive)
|
Lint:
pkg/wasm/utils.go#L26
exported: func name will be used as wasm.WasmExtensionName by other packages, and that stutters; consider calling this ExtensionName (revive)
|
Lint:
pkg/wasm/utils.go#L44
exported: type name will be used as wasm.WasmRuleBuilderFunc by other packages, and that stutters; consider calling this RuleBuilderFunc (revive)
|
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/
|