Skip to content

Add zed schema compile command #981

Add zed schema compile command

Add zed schema compile command #981

Triggered via pull request January 3, 2025 20:46
Status Failure
Total duration 3m 24s
Artifacts 1

lint.yaml

on: pull_request
Lint Go
17s
Lint Go
Lint YAML & Markdown
17s
Lint YAML & Markdown
Analyze FS with Trivy
7s
Analyze FS with Trivy
Analyze Release Image with Trivy
18s
Analyze Release Image with Trivy
Matrix: Analyze with CodeQL
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 warnings
Lint Go: internal/cmd/schema.go#L1
Please run gofumpt. diff --git a/internal/cmd/schema.go b/internal/cmd/schema.go index 298340c..4364a9f 100644 --- a/internal/cmd/schema.go +++ b/internal/cmd/schema.go @@ -120,6 +120,7 @@ func schemaDiffCmdFunc(_ *cobra.Command, args []string) error { return nil } + var schemaCompileCmd = &cobra.Command{ Use: "compile <file>", Args: cobra.ExactArgs(1),
Lint Go
Process completed with exit code 1.
Analyze Release Image with Trivy: internal/cmd/schema.go#L123
schemaCompileCmd redeclared in this block
Analyze Release Image with Trivy: internal/cmd/preview.go#L41
other declaration of schemaCompileCmd
Analyze Release Image with Trivy
The process '/opt/hostedtoolcache/goreleaser-action/2.3.2-pro/x64/goreleaser' failed with exit code 1
Analyze with CodeQL (go)
schemaCompileCmd redeclared in this block
Analyze with CodeQL (go)
other declaration of schemaCompileCmd
Analyze FS with Trivy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint YAML & Markdown
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint Go
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/
Analyze Release Image with Trivy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
diff
355 Bytes