Skip to content

Commit e10df68

Browse files
authored
Don't ship Dialyzer PLTs with releases (#654)
1 parent 73dda9a commit e10df68

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
if: matrix.dialyzer
8989
id: plt-cache
9090
with:
91-
path: priv/plts
91+
path: plts
9292
key: |
9393
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-plts-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
9494
restore-keys: |
@@ -97,7 +97,7 @@ jobs:
9797
- name: Create PLTs
9898
if: steps.plt-cache.outputs.cache-hit != 'true' && matrix.dialyzer
9999
run: |
100-
mkdir -p priv/plts
100+
mkdir -p plts
101101
mix dialyzer --plt
102102
103103
- name: Run dialyzer

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
erl_crash.dump
44
*.ez
55
/doc
6-
/priv/plts/*.plt
7-
/priv/plts/*.plt.hash
6+
/plts/*.plt
7+
/plts/*.plt.hash
88
/cover
99

1010
# Generated by "mix sentry.package_source_code"

mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ defmodule Sentry.Mixfile do
1515
elixirc_paths: elixirc_paths(Mix.env()),
1616
dialyzer: [
1717
flags: [:unmatched_returns, :error_handling, :extra_return],
18-
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
19-
plt_core_path: "priv/plts",
18+
plt_file: {:no_warn, "plts/dialyzer.plt"},
19+
plt_core_path: "plts",
2020
plt_add_deps: :app_tree,
2121
plt_add_apps: [:mix, :ex_unit]
2222
],

0 commit comments

Comments
 (0)