Skip to content

feat: add github action to run the tests #1

feat: add github action to run the tests

feat: add github action to run the tests #1

Triggered via push December 15, 2023 20:57
Status Failure
Total duration 5m 0s
Artifacts

test.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
lint: pkg/steampipe/es_column.go#L89
`getDefaultColumnTransform` is unused (deadcode)
lint: pkg/trace/jaeger.go#L20
declaration has 3 blank identifiers (dogsled)
lint: pkg/postgres/postgres.go#L119
Error return value of `prometheus.Register` is not checked (errcheck)
lint: pkg/postgres/postgres_test.go#L81
Error return value of `orm.AutoMigrate` is not checked (errcheck)
lint: pkg/kaytu-es-sdk/client.go#L86
Error return value of `cache.Set` is not checked (errcheck)
lint: pkg/steampipe/live-context.go#L40
Error return value of `cache.Set` is not checked (errcheck)
lint: pkg/steampipe/steampipe_config.go#L81
Error return value of `os.MkdirAll` is not checked (errcheck)
lint: pkg/steampipe/steampipe_config.go#L141
Error return value of `os.MkdirAll` is not checked (errcheck)
lint: pkg/steampipe/steampipe_config.go#L206
Error return value of `os.MkdirAll` is not checked (errcheck)
lint: pkg/kaytu-es-sdk/elasticsearch.go#L534
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: pkg/pointer/pointer.go#L10
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: pkg/pointer/pointer.go#L24
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: pkg/email/sendgrid.go#L32
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/kafka/consume.go#L60
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/kaytu-es-sdk/elasticsearch.go#L624
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
lint: pkg/steampipe/es_column.go#L75
empty-block: this block is empty, you can remove it (revive)
lint: pkg/steampipe/es_column.go#L77
empty-block: this block is empty, you can remove it (revive)