Skip to content

Commit

Permalink
Merge pull request #8 from straw-hat-team/optimize-dialyzer
Browse files Browse the repository at this point in the history
chore: improve dialyzer action
  • Loading branch information
yordis authored Apr 20, 2023
2 parents b4c29a9 + ac224de commit ce93e1b
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 ce93e1b

Please sign in to comment.