Skip to content

refactor: make interface for query expr and implement to postgresql a… #338

refactor: make interface for query expr and implement to postgresql a…

refactor: make interface for query expr and implement to postgresql a… #338

Triggered via push August 9, 2024 08:00
Status Failure
Total duration 38s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
golangci: pkg/query_expr/sql_expr.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
golangci: pkg/query_expr/sql_expr.go#L7
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
golangci: pkg/query_expr/es_expr.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
golangci: pkg/query_expr/query_expr.go#L4
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
golangci: internal/store/elasticsearch/discovery_repository.go#L9
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
golangci: internal/store/postgres/asset_repository.go#L9
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
golangci: pkg/query_expr/es_expr.go#L44
ptrToRefParam: consider `node' to be of non-pointer type (gocritic)
golangci: pkg/query_expr/query_expr.go#L33
ptrToRefParam: consider `node' to be of non-pointer type (gocritic)
golangci: pkg/query_expr/query_expr.go#L49
ptrToRefParam: consider to make non-pointer type for `*ast.Node` (gocritic)
golangci: pkg/query_expr/sql_expr.go#L32
ptrToRefParam: consider `node' to be of non-pointer type (gocritic)
golangci
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/