feat(deps): update golangci-lint to v2
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m5s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 4m53s

This commit was merged in pull request #55.
This commit is contained in:
2025-05-06 17:36:05 +02:00
parent 81380f184e
commit f085ed378e
10 changed files with 36 additions and 28 deletions

View File

@@ -16,7 +16,10 @@ func setupDb(t *testing.T) *sqlx.DB {
t.Fatalf("Error opening database: %v", err)
}
t.Cleanup(func() {
db.Close()
err := db.Close()
if err != nil {
panic(err)
}
})
err = RunMigrations(db, "../")