Skip to content

Commit

Permalink
Changing dialyzer lib from dialyzex to dialyxir.
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomanuel committed Mar 19, 2023
1 parent dc17463 commit b3ea1e1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Run tests
run: mix test
- name: Run dialyzer
run: mix dialyzer --check=true --compile=true
run: mix dialyzer --force-check --format dialyxir

- name: Build release
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
- name: Run tests
run: mix test
- name: Run dialyzer
run: mix dialyzer --check=true --compile=true
run: mix dialyzer --force-check --format dialyxir
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ coverage:

dialyzer: MIX_ENV=dev
dialyzer:
@mix dialyzer --check=false
@mix dialyzer --format dialyxir

plt: MIX_ENV=dev
plt:
@mix dialyzer --check=true --compile=true
@mix dialyzer --force-check --format dialyxir
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ defmodule Coophub.MixProject do
{:httpoison, "~> 1.8"},
{:yaml_elixir, "~> 2.9"},
{:cachex, "~> 3.6"},
{:dialyzex, "~> 1.3", only: :dev}
{:dialyxir, "~> 1.2", only: :dev, runtime: false}
]
end

Expand Down
3 changes: 2 additions & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"cowboy": {:hex, :cowboy, "2.9.0", "865dd8b6607e14cf03282e10e934023a1bd8be6f6bacf921a7e2a96d800cd452", [:make, :rebar3], [{:cowlib, "2.11.0", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, "1.8.0", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm", "2c729f934b4e1aa149aff882f57c6372c15399a20d54f65c8d67bef583021bde"},
"cowboy_telemetry": {:hex, :cowboy_telemetry, "0.4.0", "f239f68b588efa7707abce16a84d0d2acf3a0f50571f8bb7f56a15865aae820c", [:rebar3], [{:cowboy, "~> 2.7", [hex: :cowboy, repo: "hexpm", optional: false]}, {:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "7d98bac1ee4565d31b62d59f8823dfd8356a169e7fcbb83831b8a5397404c9de"},
"cowlib": {:hex, :cowlib, "2.11.0", "0b9ff9c346629256c42ebe1eeb769a83c6cb771a6ee5960bd110ab0b9b872063", [:make, :rebar3], [], "hexpm", "2b3e9da0b21c4565751a6d4901c20d1b4cc25cbb7fd50d91d2ab6dd287bc86a9"},
"dialyzex": {:hex, :dialyzex, "1.3.0", "3687f38182751cf6c4444cb0ada036a608567b44eb539e198c9fd4a391fa0088", [:mix], [], "hexpm", "9835208ea3314ef1ec55def3b3d80e5d71c09d29ce2791b7ba6bcf275d92cdae"},
"dialyxir": {:hex, :dialyxir, "1.2.0", "58344b3e87c2e7095304c81a9ae65cb68b613e28340690dfe1a5597fd08dec37", [:mix], [{:erlex, ">= 0.2.6", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "61072136427a851674cab81762be4dbeae7679f85b1272b6d25c3a839aff8463"},
"erlex": {:hex, :erlex, "0.2.6", "c7987d15e899c7a2f34f5420d2a2ea0d659682c06ac607572df55a43753aa12e", [:mix], [], "hexpm", "2ed2e25711feb44d52b17d2780eabf998452f6efda104877a3881c2f8c0c0c75"},
"eternal": {:hex, :eternal, "1.2.2", "d1641c86368de99375b98d183042dd6c2b234262b8d08dfd72b9eeaafc2a1abd", [:mix], [], "hexpm", "2c9fe32b9c3726703ba5e1d43a1d255a4f3f2d8f8f9bc19f094c7cb1a7a9e782"},
"expo": {:hex, :expo, "0.4.0", "bbe4bf455e2eb2ebd2f1e7d83530ce50fb9990eb88fc47855c515bfdf1c6626f", [:mix], [], "hexpm", "a8ed1683ec8b7c7fa53fd7a41b2c6935f539168a6bb0616d7fd6b58a36f3abf2"},
"file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"},
Expand Down
2 changes: 1 addition & 1 deletion test/support/fixtures.ex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule CoophubWeb.Fixtures do
@repos_cache_name Application.get_env(:coophub, :main_cache_name)
@repos_cache_name Application.compile_env(:coophub, :main_cache_name)

alias Coophub.Repos
alias Coophub.Schemas.{Organization, Repository}
Expand Down

0 comments on commit b3ea1e1

Please sign in to comment.