Skip to content

Commit

Permalink
try fixing dialyzer cache
Browse files Browse the repository at this point in the history
  • Loading branch information
andyleclair committed Feb 8, 2024
1 parent 43edfd9 commit 2c6323c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
# Cache key based on Elixir & Erlang version (also useful when running in matrix)
- name: Cache Dialyzer's PLT
uses: actions/cache@v3
if: ${{ matrix.lint }}
id: cache-plt
with:
path: plts
Expand All @@ -51,7 +52,7 @@ jobs:
# Create PLTs if no cache was found
- name: Create PLTs
if: ${{ matrix.dialyzer && steps.cache-plt.outputs.cache-hit != 'true' }}
if: ${{ matrix.lint && steps.cache-plt.outputs.cache-hit != 'true' }}
run: mix dialyzer --plt

- name: Install Dependencies
Expand Down

0 comments on commit 2c6323c

Please sign in to comment.