Skip to content

Commit

Permalink
chore: improve dialyzer action
Browse files Browse the repository at this point in the history
  • Loading branch information
yordis committed Apr 20, 2023
1 parent b4c29a9 commit ac224de
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion elixir/dialyzer/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
version-type: ${{ inputs.version-type }}

- name: Restore PLT cache
uses: actions/cache@v2
uses: actions/cache/restore@v3
id: plt_cache
with:
key: |
Expand All @@ -40,6 +40,16 @@ runs:
if: steps.plt_cache.outputs.cache-hit != 'true'
run: mix dialyzer --plt

- name: Save PLT cache
uses: actions/cache/save@v3
if: steps.plt_cache.outputs.cache-hit != 'true'
id: plt_cache_save
with:
key: |
${{ runner.os }}-${{ steps.beam.outputs.elixir-version }}-${{ steps.beam.outputs.otp-version }}-plt
path: |
priv/plts
- name: Run dialyzer
shell: sh
run: mix dialyzer --format github

0 comments on commit ac224de

Please sign in to comment.