Add kv resource #118
lint.yml
on: pull_request
golangci-lint
21s
autoformat check
16s
Annotations
10 errors and 2 warnings
golangci-lint:
internal/resources/changefeed/changefeed.go#L150
string `?path=` has 2 occurrences, make it a constant (goconst)
|
golangci-lint:
internal/resources/table/yql_test.go#L170
string `WITH (` has 4 occurrences, make it a constant (goconst)
|
golangci-lint:
internal/resources/table/yql_test.go#L236
string `ttl` Timestamp NOT NULL, has 2 occurrences, make it a constant (goconst)
|
golangci-lint:
internal/resources/table/yql_test.go#L549
string `AUTO_PARTITIONING_MAX_PARTITIONS_COUNT = 42,
|
golangci-lint:
internal/resources/table/yql_test.go#L136
string ` DATA = "ssd",` has 2 occurrences, make it a constant (goconst)
|
golangci-lint:
internal/resources/table/yql_test.go#L548
string `AUTO_PARTITIONING_MIN_PARTITIONS_COUNT = 4,
|
golangci-lint:
internal/resources/table/yql_test.go#L127
string CREATE TABLE `hello\/world`( has 5 occurrences, make it a constant (goconst)
|
golangci-lint:
internal/resources/table/yql_test.go#L471
string ALTER TABLE `abacaba` SET (
|
golangci-lint:
internal/resources/table/yql_test.go#L482
string `AUTO_PARTITIONING_BY_SIZE = ENABLED,
|
golangci-lint:
internal/resources/table/yql_test.go#L59
string `vasya` Utf8 has 2 occurrences, make it a constant (goconst)
|
autoformat check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|