Skip to content

programkind: return MIME type & file extension, swap magic library #1420

programkind: return MIME type & file extension, swap magic library

programkind: return MIME type & file extension, swap magic library #1420

Triggered via pull request October 8, 2024 22:13
Status Failure
Total duration 1m 45s
Artifacts

style.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
check gofmt: pkg/programkind/programkind.go#L141
illegal label declaration
check gofmt: pkg/programkind/programkind.go#L142
expected ';', found 'return'
check gofmt
Process completed with exit code 2.
check goimports: pkg/programkind/programkind.go#L141
illegal label declaration
check goimports: pkg/programkind/programkind.go#L142
expected ';', found 'return'
check goimports
Process completed with exit code 2.
golangci-lint: pkg/action/scan.go#L21
could not import github.com/chainguard-dev/malcontent/pkg/programkind (-: # github.com/chainguard-dev/malcontent/pkg/programkind
golangci-lint: pkg/programkind/programkind.go#L141
syntax error: unexpected : at end of statement) (typecheck)
golangci-lint: pkg/programkind/programkind.go#L141
syntax error: unexpected : at end of statement (typecheck)
golangci-lint: pkg/programkind/programkind.go#L141
illegal label declaration (typecheck)
golangci-lint: pkg/programkind/programkind.go#L142
expected ';', found 'return' (typecheck)
golangci-lint
issues found