Skip to content

Commit

Permalink
Lock Dialyxir to 1.3 for older Elixir versions
Browse files Browse the repository at this point in the history
Newer versions of Dialyxir use the
[Kernel.then/2](https://hexdocs.pm/elixir/Kernel.html#then/2) syntax
introduced in Elixir 1.12.

Lock the package to 1.3, so we can run it on older versions while we
still support them.

Related PR in appsignal-elixir repo:
appsignal/appsignal-elixir#882

See also appsignal/appsignal-elixir#881 for
dropping those older versions.
  • Loading branch information
tombruijn committed Aug 28, 2023
1 parent e4c3000 commit d52b534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ defmodule Appsignal.Phoenix.MixProject do
{:phoenix_html, "~> 2.11 or ~> 3.0", optional: true},
{:phoenix_live_view, phoenix_live_view_version, optional: true},
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.3.0", only: [:dev, :test], runtime: false},
{:credo, "~> 1.4", only: [:dev, :test], runtime: false},
{:poison, "~> 5.0", only: [:dev, :test], runtime: false},
{:telemetry, telemetry_version}
Expand Down

0 comments on commit d52b534

Please sign in to comment.