Skip to content

Commit

Permalink
Fix deprecation warning in dialyzer action (#804)
Browse files Browse the repository at this point in the history
  • Loading branch information
doughsay authored Mar 6, 2024
1 parent 43d4661 commit 109ef03
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,26 +130,23 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set mix file hash
id: set_vars
run: |
mix_hash="${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}"
echo "::set-output name=mix_hash::$mix_hash"
- name: Set up Elixir
id: setup_beam
uses: erlef/[email protected]
with:
version-file: .tool-versions
version-type: strict
- name: Cache PLT files
id: cache-plt
uses: actions/cache@v4
with:
path: |
_build/dev/*.plt
_build/dev/*.plt.hash
key: plt-cache-${{ steps.set_vars.outputs.mix_hash }}
key: plt-cache-${{ runner.os }}-mix-${{ env.MIX_ENV }}-otp-${{ steps.setup_beam.outputs.otp-version }}-elixir-${{ steps.setup_beam.outputs.elixir-version }}-lock-${{ hashFiles('/mix.lock') }}
restore-keys: |
plt-cache-${{ runner.os }}-mix-${{ env.MIX_ENV }}-otp-${{ steps.setup_beam.outputs.otp-version }}-elixir-${{ steps.setup_beam.outputs.elixir-version }}-
plt-cache-
- name: Set up Elixir
uses: erlef/[email protected]
with:
version-file: .tool-versions
version-type: strict
- name: Install dependencies
run: mix deps.get
- name: Compile dependencies
Expand Down

0 comments on commit 109ef03

Please sign in to comment.