Skip to content

Commit

Permalink
Fix dialyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasschmidt committed Feb 11, 2025
1 parent 4459ded commit 1030578
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Compile
run: mix compile --warnings-as-errors
- name: Dialyzer
run: mix dialyzer --halt-exit-status
run: mix dialyzer --format github --format dialyxir
- name: Run tests
run: mix coveralls.github
env:
Expand Down
6 changes: 2 additions & 4 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ defmodule ExJsonSchema.Mixfile do
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [coveralls: :test, dialyzer: :test],
dialyzer: [
plt_add_apps: [:ex_unit],
plt_core_path: "_build/#{Mix.env()}",
plt_add_deps: :transitive
plt_add_apps: [:ex_unit]
]
]
end
Expand All @@ -34,7 +32,7 @@ defmodule ExJsonSchema.Mixfile do
defp deps do
[
{:decimal, "~> 2.0"},
{:dialyxir, "~> 1.2", only: [:test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:excoveralls, "~> 0.14", only: :test},
{:httpoison, "~> 1.8", only: :test},
Expand Down

0 comments on commit 1030578

Please sign in to comment.