Skip to content

Commit 7a9f17d

Browse files
committed
Use dedicated CI cache key for dialyzer
1 parent e3372df commit 7a9f17d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/quality.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@ jobs:
6565
path: |
6666
deps
6767
_build
68-
key: ${{ runner.os }}-mix-dev-${{ env.elixir_version }}-${{ env.otp_version }}-${{ hashFiles('**/mix.lock') }}
69-
restore-keys: ${{ runner.os }}-mix-dev-${{ env.elixir_version }}-${{ env.otp_version }}-
68+
# Dialyzer uses PLT files for caching project info. These are in _build/dev/, but they're only created
69+
# when running dialyzer for the first time, and updated when the deps change.
70+
key: ${{ runner.os }}-plts-${{ env.elixir_version }}-${{ env.otp_version }}-${{ hashFiles('**/mix.lock') }}
71+
restore-keys: ${{ runner.os }}-plts-${{ env.elixir_version }}-${{ env.otp_version }}-
7072

7173
- name: Install Mix dependencies
7274
run: mix deps.get

0 commit comments

Comments
 (0)