diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index e28fedd8a8..5205bcfaa7 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -24,12 +24,16 @@ on: - "release-*" paths: - 'pkg/**' + - 'cmd/**' + - 'addons/**' push: branches: - main - "release-*" paths: - 'pkg/**' + - 'cmd/**' + - 'addons/**' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} diff --git a/cmd/util/json-schema-gen/main.go b/cmd/util/json-schema-gen/main.go index 79633a7513..5ddb32932d 100644 --- a/cmd/util/json-schema-gen/main.go +++ b/cmd/util/json-schema-gen/main.go @@ -20,12 +20,13 @@ package main import ( "encoding/json" "fmt" - "github.com/apache/camel-k/v2/pkg/util" "os" "path/filepath" "reflect" "strings" + "github.com/apache/camel-k/v2/pkg/util" + apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" clientscheme "k8s.io/client-go/kubernetes/scheme"