From f61708fde8fd7f035e7b52815cccda737c8ea219 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 7 Nov 2025 11:17:18 -0800 Subject: [PATCH 1/3] cldr: only compile code when running tests --- lib/ex_double_entry/cldr.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ex_double_entry/cldr.ex b/lib/ex_double_entry/cldr.ex index 2ed2a68..b2a7376 100644 --- a/lib/ex_double_entry/cldr.ex +++ b/lib/ex_double_entry/cldr.ex @@ -1,4 +1,4 @@ -if Code.ensure_loaded?(Cldr) do +if "#{Mix.env()}" =~ "test" and Code.ensure_loaded?(Cldr) do defmodule ExDoubleEntry.Cldr do use Cldr, locales: ["en"], From c0ba6c285a4d58e6cd5edc61514ca91e29acfc43 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 10 Nov 2025 10:32:49 -0800 Subject: [PATCH 2/3] ci: update checkout version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 44ee823..c3984f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - 3306:3306 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 - name: Set up Elixir id: beam uses: erlef/setup-beam@v1 From d3bf1e47b3d95fc98ce7e0bc0b2946947555f91a Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 10 Nov 2025 10:33:54 -0800 Subject: [PATCH 3/3] ci: update cache action --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3984f4..e183b0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: elixir-version: ${{ matrix.elixir }} otp-version: ${{ matrix.otp }} - name: Restore dependencies cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: deps key: ${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }}-mix-${{ hashFiles('**/mix.lock') }} @@ -57,7 +57,7 @@ jobs: - name: Run formatting check run: mix format --check-formatted - name: Restore Dialyzer PLT cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: dialyzer_plt_cache with: path: _build/dialyzer