Skip to content

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

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 #83

Triggered via pull request October 4, 2024 18:57
Status Failure
Total duration 26m 7s
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: testing/docker.go#L290
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
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)
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)
Process completed with exit code 2.
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/migrate/migrate. Supported file pattern: go.sum