From 60daaed7a00b43e467384d0ff07df8d48a6d84bc Mon Sep 17 00:00:00 2001 From: Alan Vardy Date: Mon, 17 Jun 2024 13:29:53 -0700 Subject: [PATCH] update_everything --- .credo.exs | 6 ++++-- .github/workflows/ci.yml | 20 ++++++++++---------- .tool-versions | 4 ++-- mix.exs | 10 +++++----- mix.lock | 4 ++-- 5 files changed, 23 insertions(+), 21 deletions(-) diff --git a/.credo.exs b/.credo.exs index 733a4d00..9499f891 100644 --- a/.credo.exs +++ b/.credo.exs @@ -146,7 +146,8 @@ {Credo.Check.Refactor.CyclomaticComplexity, []}, {Credo.Check.Refactor.FunctionArity, []}, {Credo.Check.Refactor.LongQuoteBlocks, false}, - {Credo.Check.Refactor.MapInto, []}, + # not compatible with 1.17 + {Credo.Check.Refactor.MapInto, false}, {Credo.Check.Refactor.MatchInCondition, []}, {Credo.Check.Refactor.NegatedConditionsInUnless, []}, {Credo.Check.Refactor.NegatedConditionsWithElse, []}, @@ -161,7 +162,8 @@ {Credo.Check.Warning.ExpensiveEmptyEnumCheck, []}, {Credo.Check.Warning.IExPry, []}, {Credo.Check.Warning.IoInspect, []}, - {Credo.Check.Warning.LazyLogging, []}, + # not compatible with 1.17 + {Credo.Check.Warning.LazyLogging, false}, {Credo.Check.Warning.MixEnv, false}, {Credo.Check.Warning.OperationOnSameValues, []}, {Credo.Check.Warning.OperationWithConstantResult, []}, diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a906f2cf..cc43d28f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,8 +28,8 @@ jobs: ${{ runner.os }}-credo- - uses: erlef/setup-beam@v1 with: - otp-version: 26.0.2 - elixir-version: 1.15.5 + otp-version: 27.0 + elixir-version: 1.17 - run: mix deps.get - run: mix credo --strict @@ -59,8 +59,8 @@ jobs: ${{ runner.os }}-credo- - uses: erlef/setup-beam@v1 with: - otp-version: 26.0.2 - elixir-version: 1.15.5 + otp-version: 27.0 + elixir-version: 1.17 - run: mix deps.get - run: mix doctor @@ -90,8 +90,8 @@ jobs: ${{ runner.os }}-cypress- - uses: erlef/setup-beam@v1 with: - otp-version: 26.0.2 - elixir-version: 1.15.5 + otp-version: 27.0 + elixir-version: 1.17 - run: mix deps.get - run: mix assets.deploy - run: mix cypress.run @@ -123,8 +123,8 @@ jobs: ${{ runner.os }}-dialyzer- - uses: erlef/setup-beam@v1 with: - otp-version: 26.0.2 - elixir-version: 1.15.5 + otp-version: 27.0 + elixir-version: 1.17 - run: mix deps.get - run: mix dialyzer @@ -154,8 +154,8 @@ jobs: ${{ runner.os }}-coveralls- - uses: erlef/setup-beam@v1 with: - otp-version: 26.0.2 - elixir-version: 1.15.5 + otp-version: 27.0 + elixir-version: 1.17 - run: mix deps.get - run: mix coveralls.json - name: Upload to codecov.io diff --git a/.tool-versions b/.tool-versions index 01d0166b..97004565 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -elixir 1.15.5-otp-26 -erlang 26.0.2 +elixir 1.17 +erlang 27.0 diff --git a/mix.exs b/mix.exs index d229835a..7bc37847 100644 --- a/mix.exs +++ b/mix.exs @@ -110,11 +110,11 @@ defmodule Exzeitable.MixProject do {:phoenix_view, "~> 2.0"}, {:phoenix_live_reload, "~> 1.2", only: :dev}, {:phoenix_live_view, "~> 0.20.0"}, - {:floki, ">= 0.30.0", only: :test}, + {:floki, ">= 0.36.2", only: :test}, {:esbuild, "~> 0.2", runtime: Mix.env() == :dev}, - {:swoosh, "~> 1.3"}, + {:swoosh, "~> 1.16"}, {:telemetry_metrics, "~> 1.0"}, - {:telemetry_poller, "~> 1.0"}, + {:telemetry_poller, "~> 1.1"}, {:gettext, "~> 0.18"}, {:jason, "~> 1.2"}, {:plug_cowboy, "~> 2.5"}, @@ -123,10 +123,10 @@ defmodule Exzeitable.MixProject do {:credo, "~> 1.5", only: :test, runtime: false}, {:blitz_credo_checks, "~> 0.1", only: :test, runtime: false}, {:dialyxir, "~> 1.1", only: :test, runtime: false}, - {:excoveralls, "~> 0.10", only: :test, runtime: false}, + {:excoveralls, "~> 0.18.1", only: :test, runtime: false}, {:ex_doc, "~> 0.21", only: [:test, :dev], runtime: false}, {:inch_ex, github: "rrrene/inch_ex", only: :test}, - {:stream_data, "~> 1.0", only: :test}, + {:stream_data, "~> 1.1", only: :test}, {:doctor, "~> 0.21.0", only: :test} ] end diff --git a/mix.lock b/mix.lock index 8fd57208..fdebabe9 100644 --- a/mix.lock +++ b/mix.lock @@ -1,7 +1,7 @@ %{ "blitz_credo_checks": {:hex, :blitz_credo_checks, "0.1.10", "54ae0aa673101e3edd4f2ab0ee7860f90c3240e515e268546dd9f01109d2b917", [:mix], [{:credo, "~> 1.4", [hex: :credo, repo: "hexpm", optional: false]}], "hexpm", "b3248dd2c88a6fe907e84ed104e61b863c6451d8755aa609b36d3eb6c7bab9db"}, "bunt": {:hex, :bunt, "0.2.1", "e2d4792f7bc0ced7583ab54922808919518d0e57ee162901a16a1b6664ef3b14", [:mix], [], "hexpm", "a330bfb4245239787b15005e66ae6845c9cd524a288f0d141c148b02603777a5"}, - "castore": {:hex, :castore, "1.0.6", "ffc42f110ebfdafab0ea159cd43d31365fa0af0ce4a02ecebf1707ae619ee727", [:mix], [], "hexpm", "374c6e7ca752296be3d6780a6d5b922854ffcc74123da90f2f328996b962d33a"}, + "castore": {:hex, :castore, "1.0.7", "b651241514e5f6956028147fe6637f7ac13802537e895a724f90bf3e36ddd1dd", [:mix], [], "hexpm", "da7785a4b0d2a021cd1292a60875a784b6caef71e76bf4917bdee1f390455cf5"}, "certifi": {:hex, :certifi, "2.12.0", "2d1cca2ec95f59643862af91f001478c9863c2ac9cb6e2f89780bfd8de987329", [:rebar3], [], "hexpm", "ee68d85df22e554040cdb4be100f33873ac6051387baf6a8f6ce82272340ff1c"}, "combine": {:hex, :combine, "0.10.0", "eff8224eeb56498a2af13011d142c5e7997a80c8f5b97c499f84c841032e429f", [:mix], [], "hexpm", "1b1dbc1790073076580d0d1d64e42eae2366583e7aecd455d1215b0d16f2451b"}, "cowboy": {:hex, :cowboy, "2.12.0", "f276d521a1ff88b2b9b4c54d0e753da6c66dd7be6c9fca3d9418b561828a3731", [:make, :rebar3], [{:cowlib, "2.13.0", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, "1.8.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "8a7abe6d183372ceb21caa2709bec928ab2b72e18a3911aa1771639bef82651e"}, @@ -22,7 +22,7 @@ "excoveralls": {:hex, :excoveralls, "0.18.1", "a6f547570c6b24ec13f122a5634833a063aec49218f6fff27de9df693a15588c", [:mix], [{:castore, "~> 1.0", [hex: :castore, repo: "hexpm", optional: true]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "d65f79db146bb20399f23046015974de0079668b9abb2f5aac074d078da60b8d"}, "expo": {:hex, :expo, "0.5.2", "beba786aab8e3c5431813d7a44b828e7b922bfa431d6bfbada0904535342efe2", [:mix], [], "hexpm", "8c9bfa06ca017c9cb4020fabe980bc7fdb1aaec059fd004c2ab3bff03b1c599c"}, "file_system": {:hex, :file_system, "1.0.0", "b689cc7dcee665f774de94b5a832e578bd7963c8e637ef940cd44327db7de2cd", [:mix], [], "hexpm", "6752092d66aec5a10e662aefeed8ddb9531d79db0bc145bb8c40325ca1d8536d"}, - "floki": {:hex, :floki, "0.36.1", "712b7f2ba19a4d5a47dfe3e74d81876c95bbcbee44fe551f0af3d2a388abb3da", [:mix], [], "hexpm", "21ba57abb8204bcc70c439b423fc0dd9f0286de67dc82773a14b0200ada0995f"}, + "floki": {:hex, :floki, "0.36.2", "a7da0193538c93f937714a6704369711998a51a6164a222d710ebd54020aa7a3", [:mix], [], "hexpm", "a8766c0bc92f074e5cb36c4f9961982eda84c5d2b8e979ca67f5c268ec8ed580"}, "gettext": {:hex, :gettext, "0.24.0", "6f4d90ac5f3111673cbefc4ebee96fe5f37a114861ab8c7b7d5b30a1108ce6d8", [:mix], [{:expo, "~> 0.5.1", [hex: :expo, repo: "hexpm", optional: false]}], "hexpm", "bdf75cdfcbe9e4622dd18e034b227d77dd17f0f133853a1c73b97b3d6c770e8b"}, "hackney": {:hex, :hackney, "1.20.1", "8d97aec62ddddd757d128bfd1df6c5861093419f8f7a4223823537bad5d064e2", [:rebar3], [{:certifi, "~> 2.12.0", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "~> 6.1.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "~> 1.0.0", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~> 1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:parse_trans, "3.4.1", [hex: :parse_trans, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "~> 1.1.0", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}, {:unicode_util_compat, "~> 0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "fe9094e5f1a2a2c0a7d10918fee36bfec0ec2a979994cff8cfe8058cd9af38e3"}, "idna": {:hex, :idna, "6.1.1", "8a63070e9f7d0c62eb9d9fcb360a7de382448200fbbd1b106cc96d3d8099df8d", [:rebar3], [{:unicode_util_compat, "~> 0.7.0", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm", "92376eb7894412ed19ac475e4a86f7b413c1b9fbb5bd16dccd57934157944cea"},