Skip to content

Commit 9b8106b

Browse files
authored
ci: add build cache to dialyzer (#185)
1 parent ddd28de commit 9b8106b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.yaml

+7-3
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,12 @@ jobs:
9090
id: plt_cache
9191
with:
9292
key: |
93-
${{ runner.os }}-${{ steps.beam.outputs.elixir-version }}-${{ steps.beam.outputs.otp-version }}-plt
93+
${{ runner.os }}-${{ steps.beam.outputs.elixir-version }}-${{ steps.beam.outputs.otp-version }}-${{ hashFiles('**/mix.lock') }}
9494
restore-keys: |
95-
${{ runner.os }}-${{ steps.beam.outputs.elixir-version }}-${{ steps.beam.outputs.otp-version }}-plt
95+
${{ runner.os }}-${{ steps.beam.outputs.elixir-version }}-${{ steps.beam.outputs.otp-version }}-
9696
path: |
97+
deps
98+
_build
9799
priv/plts
98100
99101
- name: Install Dependencies
@@ -112,8 +114,10 @@ jobs:
112114
id: plt_cache_save
113115
with:
114116
key: |
115-
${{ runner.os }}-${{ steps.beam.outputs.elixir-version }}-${{ steps.beam.outputs.otp-version }}-plt
117+
${{ runner.os }}-${{ steps.beam.outputs.elixir-version }}-${{ steps.beam.outputs.otp-version }}-${{ hashFiles('**/mix.lock') }}
116118
path: |
119+
deps
120+
_build
117121
priv/plts
118122
119123
- name: Run dialyzer

0 commit comments

Comments
 (0)