Skip to content

Commit 1030578

Browse files
committed
Fix dialyzer
1 parent 4459ded commit 1030578

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Compile
5050
run: mix compile --warnings-as-errors
5151
- name: Dialyzer
52-
run: mix dialyzer --halt-exit-status
52+
run: mix dialyzer --format github --format dialyxir
5353
- name: Run tests
5454
run: mix coveralls.github
5555
env:

mix.exs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ defmodule ExJsonSchema.Mixfile do
2020
test_coverage: [tool: ExCoveralls],
2121
preferred_cli_env: [coveralls: :test, dialyzer: :test],
2222
dialyzer: [
23-
plt_add_apps: [:ex_unit],
24-
plt_core_path: "_build/#{Mix.env()}",
25-
plt_add_deps: :transitive
23+
plt_add_apps: [:ex_unit]
2624
]
2725
]
2826
end
@@ -34,7 +32,7 @@ defmodule ExJsonSchema.Mixfile do
3432
defp deps do
3533
[
3634
{:decimal, "~> 2.0"},
37-
{:dialyxir, "~> 1.2", only: [:test], runtime: false},
35+
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
3836
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
3937
{:excoveralls, "~> 0.14", only: :test},
4038
{:httpoison, "~> 1.8", only: :test},

0 commit comments

Comments
 (0)