Skip to content

Refactor SQL generation - graph-first approach #448

Refactor SQL generation - graph-first approach

Refactor SQL generation - graph-first approach #448

Triggered via pull request October 1, 2024 07:08
Status Failure
Total duration 52s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
go_lint: cmd/pg-schema-diff/apply_cmd.go#L1
: # github.com/stripe/pg-schema-diff/cmd/pg-schema-diff [github.com/stripe/pg-schema-diff/cmd/pg-schema-diff.test]
go_lint: cmd/pg-schema-diff/apply_cmd.go#L83
cannot use strings.ToUpper(val) (value of type string) as "github.com/stripe/pg-schema-diff/pkg/diff".MigrationHazardType value in map index
go_lint: cmd/pg-schema-diff/apply_cmd.go#L95
cannot use disallowedTypes (variable of type []"github.com/stripe/pg-schema-diff/pkg/diff".MigrationHazardType) as []string value in argument to strings.Join
go_lint: cmd/pg-schema-diff/apply_cmd.go#L105
cannot use getHazardTypes(plan) (value of type []"github.com/stripe/pg-schema-diff/pkg/diff".MigrationHazardType) as []string value in argument to strings.Join
go_lint: cmd/pg-schema-diff/plan_cmd.go#L512
cannot use hazard.Type (variable of type "github.com/stripe/pg-schema-diff/pkg/diff".MigrationHazardType) as string value in return statement (typecheck)
go_lint
issues found
lint
Process completed with exit code 2.
go_lint
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/