Skip to content

Add optional formating for custom generator. #24

Add optional formating for custom generator.

Add optional formating for custom generator. #24

Triggered via pull request May 23, 2024 18:44
Status Failure
Total duration 1m 11s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 warnings
lint: internal/generator/custom/custom.go#L67
Error return value of `customFileOutputFile.Write` is not checked (errcheck)
lint: pkg/vss/convert/payloadv1.go#L34
ineffectual assignment to err (ineffassign)
lint: pkg/migrations/migrations.go#L1
ST1000: at least one file in a package should have a package comment (stylecheck)
lint: pkg/schema/load.go#L1
ST1000: at least one file in a package should have a package comment (stylecheck)
lint: pkg/schema/signal.go#L1
ST1000: at least one file in a package should have a package comment (stylecheck)
lint: pkg/vss/convert/payloadv2_test.go#L132
directive `//nolint // false positive` is unused (nolintlint)
lint
issues found
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/model-garage/model-garage. Supported file pattern: go.sum
lint: pkg/schema/embed.go#L1
package-comments: should have a package comment (revive)
lint: pkg/migrations/00001_signal_table_migration.go#L1
package-comments: should have a package comment (revive)
lint: pkg/clickhouseinfra/clickhouseinfra.go#L24
exported: exported const SecureNativePort should have comment (or a comment on this block) or be unexported (revive)