Skip to content

Define and implement an OpenAPI spec in the backend #542

Define and implement an OpenAPI spec in the backend

Define and implement an OpenAPI spec in the backend #542

Triggered via pull request January 7, 2025 13:02
Status Failure
Total duration 46s
Artifacts

knative-style.yaml

on: pull_request
style  /  changes
3s
style / changes
style  /  ...  /  Auto-format and Check
11s
style / Golang / Auto-format and Check
style  /  ...  /  Lint
15s
style / Golang / Lint
style  /  ...  /  Do Not Submit
4s
style / Golang / Do Not Submit
style  /  ...  /  shell
5s
style / suggester / shell
style  /  ...  /  yaml
23s
style / suggester / yaml
style  /  ...  /  github_actions
0s
style / suggester / github_actions
Matrix: style / Golang / Boilerplate Check
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 8 warnings
style / Golang / Auto-format and Check: backends/pkg/reconciler/eventmesh/controller.go#L1
Please run goimports. diff --git a/backends/pkg/reconciler/eventmesh/controller.go b/backends/pkg/reconciler/eventmesh/controller.go index 10f54d0..8f74beb 100644 --- a/backends/pkg/reconciler/eventmesh/controller.go +++ b/backends/pkg/reconciler/eventmesh/controller.go @@ -2,10 +2,11 @@ package eventmesh import ( "context" - "github.com/getkin/kin-openapi/openapi3filter" "log" "net/http" + "github.com/getkin/kin-openapi/openapi3filter" + "github.com/getkin/kin-openapi/openapi3" "github.com/gorilla/mux" middleware "github.com/oapi-codegen/nethttp-middleware"
style / Golang / Auto-format and Check: backends/pkg/reconciler/eventmesh/endpoint.go#L1
Please run goimports. diff --git a/backends/pkg/reconciler/eventmesh/endpoint.go b/backends/pkg/reconciler/eventmesh/endpoint.go index 4a7bf4d..a64bc45 100644 --- a/backends/pkg/reconciler/eventmesh/endpoint.go +++ b/backends/pkg/reconciler/eventmesh/endpoint.go @@ -3,9 +3,10 @@ package eventmesh import ( "context" "fmt" - "go.uber.org/zap" "log" + "go.uber.org/zap" + "k8s.io/client-go/dynamic" "k8s.io/client-go/rest" "knative.dev/eventing/pkg/client/clientset/versioned"
style / Golang / Auto-format and Check: backends/pkg/reconciler/eventmesh/util.go#L1
Please run goimports. diff --git a/backends/pkg/reconciler/eventmesh/util.go b/backends/pkg/reconciler/eventmesh/util.go index bca0be9..660d2f4 100644 --- a/backends/pkg/reconciler/eventmesh/util.go +++ b/backends/pkg/reconciler/eventmesh/util.go @@ -2,6 +2,7 @@ package eventmesh import ( "fmt" + v1 "knative.dev/pkg/apis/duck/v1" )
style / Golang / Auto-format and Check
Process completed with exit code 1.
style / changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
style / Golang / Do Not Submit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
style / suggester / shell
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
style / Golang / Boilerplate Check (go)
Restore cache failed: Dependencies file is not found in /home/runner/work/backstage-plugins/backstage-plugins. Supported file pattern: go.sum
style / Golang / Boilerplate Check (sh)
Restore cache failed: Dependencies file is not found in /home/runner/work/backstage-plugins/backstage-plugins. Supported file pattern: go.sum
style / Golang / Auto-format and Check
Restore cache failed: Dependencies file is not found in /home/runner/work/backstage-plugins/backstage-plugins. Supported file pattern: go.sum
style / Golang / Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/backstage-plugins/backstage-plugins. Supported file pattern: go.sum
style / suggester / yaml
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636