Skip to content

Minor code updates from missed open comments from #36 to the migratedown feature #86

Minor code updates from missed open comments from #36 to the migratedown feature

Minor code updates from missed open comments from #36 to the migratedown feature #86

Triggered via pull request October 9, 2024 15:37
Status Failure
Total duration 21m 6s
Artifacts

ci.yaml

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

Annotations

13 errors and 1 warning
lint: cmd/migrate/main.go#L19
Error return value of `viper.BindPFlags` is not checked (errcheck)
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: cmd/migrate/config.go#L13
const `defaultDatabaseSSL` is unused (unused)
lint: cmd/migrate/config.go#L14
const `defaultConfigDirectory` is unused (unused)
lint: cmd/migrate/config.go#L19
var `flagHelp` is unused (unused)
test (1.22.x)
Process completed with exit code 2.
test (1.21.x)
The job was canceled because "_1_22_x" failed.
test (1.21.x)
The operation was canceled.
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/migrate/migrate. Supported file pattern: go.sum