From 1dc575f9cf8e2b7a209730282afd1d1e6a5e0a68 Mon Sep 17 00:00:00 2001 From: Bruce Park Date: Tue, 21 Oct 2025 22:10:01 -0700 Subject: [PATCH 1/2] Update CI for Elixir 1.19.1 - Also, update credo due to error: "could not compile dependency :credo, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile credo --force", update it with "mix deps.update credo" or clean it with "mix deps.clean credo" --- .github/workflows/elixir.yml | 2 ++ mix.lock | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 3efca60..7e58f8b 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -19,6 +19,8 @@ jobs: elixir-version: '1.16.0' - otp-version: '27.3.3' elixir-version: '1.18.3' + - otp-version: '28.1.1' + elixir-version: '1.19.1' steps: - name: Checkout uses: actions/checkout@v4 diff --git a/mix.lock b/mix.lock index b356636..b37abe5 100644 --- a/mix.lock +++ b/mix.lock @@ -1,11 +1,11 @@ %{ "bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"}, - "credo": {:hex, :credo, "1.7.3", "05bb11eaf2f2b8db370ecaa6a6bda2ec49b2acd5e0418bc106b73b07128c0436", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "35ea675a094c934c22fb1dca3696f3c31f2728ae6ef5a53b5d648c11180a4535"}, + "credo": {:hex, :credo, "1.7.13", "126a0697df6b7b71cd18c81bc92335297839a806b6f62b61d417500d1070ff4e", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "47641e6d2bbff1e241e87695b29f617f1a8f912adea34296fb10ecc3d7e9e84f"}, "earmark": {:hex, :earmark, "1.3.1", "73812f447f7a42358d3ba79283cfa3075a7580a3a2ed457616d6517ac3738cb9", [:mix], [], "hexpm", "000aaeff08919e95e7aea13e4af7b2b9734577b3e6a7c50ee31ee88cab6ec4fb"}, "earmark_parser": {:hex, :earmark_parser, "1.4.44", "f20830dd6b5c77afe2b063777ddbbff09f9759396500cdbe7523efd58d7a339c", [:mix], [], "hexpm", "4778ac752b4701a5599215f7030989c989ffdc4f6df457c5f36938cc2d2a2750"}, "ex_doc": {:hex, :ex_doc, "0.38.2", "504d25eef296b4dec3b8e33e810bc8b5344d565998cd83914ffe1b8503737c02", [:mix], [{:earmark_parser, "~> 1.4.44", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.0", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14 or ~> 1.0", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1 or ~> 1.0", [hex: :makeup_erlang, repo: "hexpm", optional: false]}, {:makeup_html, ">= 0.1.0", [hex: :makeup_html, repo: "hexpm", optional: true]}], "hexpm", "732f2d972e42c116a70802f9898c51b54916e542cc50968ac6980512ec90f42b"}, - "file_system": {:hex, :file_system, "1.0.0", "b689cc7dcee665f774de94b5a832e578bd7963c8e637ef940cd44327db7de2cd", [:mix], [], "hexpm", "6752092d66aec5a10e662aefeed8ddb9531d79db0bc145bb8c40325ca1d8536d"}, - "jason": {:hex, :jason, "1.4.1", "af1504e35f629ddcdd6addb3513c3853991f694921b1b9368b0bd32beb9f1b63", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "fbb01ecdfd565b56261302f7e1fcc27c4fb8f32d56eab74db621fc154604a7a1"}, + "file_system": {:hex, :file_system, "1.1.1", "31864f4685b0148f25bd3fbef2b1228457c0c89024ad67f7a81a3ffbc0bbad3a", [:mix], [], "hexpm", "7a15ff97dfe526aeefb090a7a9d3d03aa907e100e262a0f8f7746b78f8f87a5d"}, + "jason": {:hex, :jason, "1.4.4", "b9226785a9aa77b6857ca22832cffa5d5011a667207eb2a0ad56adb5db443b8a", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "c5eb0cab91f094599f94d55bc63409236a8ec69a21a67814529e8d5f6cc90b3b"}, "makeup": {:hex, :makeup, "1.2.1", "e90ac1c65589ef354378def3ba19d401e739ee7ee06fb47f94c687016e3713d1", [:mix], [{:nimble_parsec, "~> 1.4", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "d36484867b0bae0fea568d10131197a4c2e47056a6fbe84922bf6ba71c8d17ce"}, "makeup_elixir": {:hex, :makeup_elixir, "1.0.1", "e928a4f984e795e41e3abd27bfc09f51db16ab8ba1aebdba2b3a575437efafc2", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "7284900d412a3e5cfd97fdaed4f5ed389b8f2b4cb49efc0eb3bd10e2febf9507"}, "makeup_erlang": {:hex, :makeup_erlang, "1.0.2", "03e1804074b3aa64d5fad7aa64601ed0fb395337b982d9bcf04029d68d51b6a7", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "af33ff7ef368d5893e4a267933e7744e46ce3cf1f61e2dccf53a111ed3aa3727"}, From 89cba3d763691c505cdff1e11d212313d7182845 Mon Sep 17 00:00:00 2001 From: Bruce P Date: Fri, 16 Jan 2026 14:44:02 -0800 Subject: [PATCH 2/2] Set async false to stop overwrite of global state --- test/configuration/config_before_test.exs | 2 +- test/configuration/config_finally_error_test.exs | 4 ++-- test/configuration/tags_in_config_before_test.exs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/configuration/config_before_test.exs b/test/configuration/config_before_test.exs index 9efa26f..7fafa8c 100644 --- a/test/configuration/config_before_test.exs +++ b/test/configuration/config_before_test.exs @@ -1,5 +1,5 @@ defmodule ConfigBeforeTest do - use ExUnit.Case, async: true + use ExUnit.Case, async: false ESpec.configure(fn c -> c.before(fn tags -> diff --git a/test/configuration/config_finally_error_test.exs b/test/configuration/config_finally_error_test.exs index 1ad83b1..7acd105 100644 --- a/test/configuration/config_finally_error_test.exs +++ b/test/configuration/config_finally_error_test.exs @@ -1,5 +1,5 @@ defmodule ConfigFinallyRaiseTest do - use ExUnit.Case, async: true + use ExUnit.Case, async: false defmodule SomeSpec do use ESpec @@ -28,7 +28,7 @@ defmodule ConfigFinallyRaiseTest do end defmodule ConfigFinallyThrowTest do - use ExUnit.Case, async: true + use ExUnit.Case, async: false defmodule SomeSpec do use ESpec diff --git a/test/configuration/tags_in_config_before_test.exs b/test/configuration/tags_in_config_before_test.exs index e383638..6ed73c4 100644 --- a/test/configuration/tags_in_config_before_test.exs +++ b/test/configuration/tags_in_config_before_test.exs @@ -1,5 +1,5 @@ defmodule TagsInConfigBeforeTest do - use ExUnit.Case, async: true + use ExUnit.Case, async: false ESpec.configure(fn config -> config.before(fn tags ->