add dialyzer
All checks were successful
Build and Publish / build-release (push) Successful in 1m48s

This commit is contained in:
2026-04-21 14:28:33 -05:00
parent 30d95f18e1
commit a5e3e1140e
2 changed files with 9 additions and 2 deletions

View File

@@ -10,7 +10,11 @@ defmodule PolicyService.MixProject do
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
listeners: [Phoenix.CodeReloader]
listeners: [Phoenix.CodeReloader],
dialyzer: [
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
plt_add_apps: [:mix, :ex_unit]
]
]
end
@@ -56,7 +60,8 @@ defmodule PolicyService.MixProject do
{:open_api_spex, "~> 3.20"},
{:cors_plug, "~> 3.0"},
{:flop, "~> 0.26"},
{:req, "~> 0.5"}
{:req, "~> 0.5"},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}
]
end