diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 4cb7af5..b6e563b 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -20,4 +20,4 @@ jobs: persist-credentials: false - name: Run zizmor 🌈 - uses: zizmorcore/zizmor-action@53290badfa369cb0bf7ad16342cb62c2fa47ac7b # v0.8.0 + uses: zizmorcore/zizmor-action@1b4550e929643b8b26a62303c6bd64814271a4f1 # v0.9.2 diff --git a/test/ecto_sqlite3_crud_compat_test.exs b/test/ecto_sqlite3_crud_compat_test.exs index 593cc7e..1561f12 100644 --- a/test/ecto_sqlite3_crud_compat_test.exs +++ b/test/ecto_sqlite3_crud_compat_test.exs @@ -25,7 +25,8 @@ defmodule EctoLibSql.EctoSqlite3CrudCompatTest do database: @test_db ) - {:ok, _} = EctoLibSql.Integration.TestRepo.start_link() + # Supervised so ExUnit stops the shared repo before the next module starts it. + start_supervised!(EctoLibSql.Integration.TestRepo) # Create tables manually - migration approach has ID generation issues Ecto.Adapters.SQL.query!(TestRepo, """ diff --git a/test/ecto_sqlite3_returning_debug_test.exs b/test/ecto_sqlite3_returning_debug_test.exs index 866f3d7..bcb360e 100644 --- a/test/ecto_sqlite3_returning_debug_test.exs +++ b/test/ecto_sqlite3_returning_debug_test.exs @@ -21,7 +21,8 @@ defmodule EctoLibSql.EctoSqlite3ReturningDebugTest do log: :info ) - {:ok, _} = EctoLibSql.Integration.TestRepo.start_link() + # Supervised so ExUnit stops the shared repo before the next module starts it. + start_supervised!(EctoLibSql.Integration.TestRepo) # Run migrations :ok = diff --git a/test/in_expression_comprehensive_test.exs b/test/in_expression_comprehensive_test.exs index e6191f8..30b5f42 100644 --- a/test/in_expression_comprehensive_test.exs +++ b/test/in_expression_comprehensive_test.exs @@ -35,7 +35,8 @@ defmodule EctoLibSql.InExpressionComprehensiveTest do database: @test_db ) - {:ok, _} = EctoLibSql.Integration.TestRepo.start_link() + # Supervised so ExUnit stops the shared repo before the next module starts it. + start_supervised!(EctoLibSql.Integration.TestRepo) # Create test tables Ecto.Adapters.SQL.query!(TestRepo, """ diff --git a/test/returning_clause_test.exs b/test/returning_clause_test.exs index 8ab0517..07625a3 100644 --- a/test/returning_clause_test.exs +++ b/test/returning_clause_test.exs @@ -28,7 +28,8 @@ defmodule EctoLibSql.ReturningClauseTest do database: @test_db ) - {:ok, _} = EctoLibSql.Integration.TestRepo.start_link() + # Supervised so ExUnit stops the shared repo before the next module starts it. + start_supervised!(EctoLibSql.Integration.TestRepo) # Run migrations. :ok =