From e170fb84646ea1ccf8b31e527fa9ede173215ce6 Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Fri, 16 Feb 2024 08:46:40 +0200 Subject: [PATCH] Clean up CI action to support Elixir 1.16 (#64) Signed-off-by: Maciej Szlosarczyk maciej@mindvalley.com --- .github/workflows/gh-action-ci.yaml | 6 +++--- config/test.exs | 2 +- mv_opentelemetry_harness/config/test.exs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gh-action-ci.yaml b/.github/workflows/gh-action-ci.yaml index 55b9a8d..c5ce856 100644 --- a/.github/workflows/gh-action-ci.yaml +++ b/.github/workflows/gh-action-ci.yaml @@ -26,7 +26,7 @@ jobs: # and running the workflow steps. matrix: otp: ["25.2", "26.2"] - elixir: ["1.15.6", "1.14.5"] + elixir: ["1.15.6", "1.16.1"] services: db: env: @@ -57,8 +57,8 @@ jobs: deps _build priv/plts - key: ${{ runner.os }}-${{ runner.arch }}-mix-${{ matrix.elixir }}-${{ matrix.erlang }}-${{ hashFiles('**/mix.lock') }} - restore-keys: ${{ runner.os }}-${{ runner.arch }}-mix-${{ matrix.elixir }}-${{ matrix.erlang }} + key: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.elixir }}-${{ matrix.otp }}-mix-${{ hashFiles('**/mix.lock') }} + restore-keys: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.elixir }}-${{ matrix.otp }}-mix - name: Install dependencies run: | diff --git a/config/test.exs b/config/test.exs index 601733b..5253ede 100644 --- a/config/test.exs +++ b/config/test.exs @@ -40,5 +40,5 @@ config :mv_opentelemetry_harness, MvOpentelemetryHarness.Repo, pool: Ecto.Adapters.SQL.Sandbox # Print only warnings and errors during test -config :logger, level: :warn +config :logger, level: :warning config :phoenix, :json_library, Jason diff --git a/mv_opentelemetry_harness/config/test.exs b/mv_opentelemetry_harness/config/test.exs index 3349219..d242ffa 100644 --- a/mv_opentelemetry_harness/config/test.exs +++ b/mv_opentelemetry_harness/config/test.exs @@ -19,4 +19,4 @@ config :mv_opentelemetry_harness, MvOpentelemetryHarnessWeb.Endpoint, server: false # Print only warnings and errors during test -config :logger, level: :warn +config :logger, level: :warning