Skip to content

register pgx in main cli, not internal #56

register pgx in main cli, not internal

register pgx in main cli, not internal #56

Triggered via pull request December 5, 2023 16:46
@daniel-garciadaniel-garcia
synchronize #30
pgx_pg
Status Failure
Total duration 17m 22s
Artifacts

ci.yaml

on: pull_request
Matrix: test
Check coverage
4s
Check coverage
Release a new version
0s
Release a new version
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
lint: database/parse_test.go#L17
string `database://` has 4 occurrences, make it a constant (goconst)
lint: database/parse_test.go#L67
string `reserved char ` has 4 occurrences, make it a constant (goconst)
lint: cmd/migrate/main.go#L19
Error return value of `viper.BindPFlags` is not checked (errcheck)
lint: source/file/file_test.go#L33
string `file://` has 6 occurrences, make it a constant (goconst)
lint: cmd/migrate/config.go#L7
const `defaultDatabaseDSN` is unused (unused)
lint: cmd/migrate/config.go#L8
const `defaultDatabaseDriver` is unused (unused)
lint: cmd/migrate/config.go#L9
const `defaultDatabaseAddress` is unused (unused)
lint: cmd/migrate/config.go#L10
const `defaultDatabaseName` is unused (unused)
lint: cmd/migrate/config.go#L11
const `defaultDatabaseUser` is unused (unused)
lint: cmd/migrate/config.go#L12
const `defaultDatabasePassword` is unused (unused)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test (1.17.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (1.18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/