Skip to content

Commit

Permalink
Define separate job for dialyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
Clifton McIntosh committed Dec 3, 2024
1 parent f210aa7 commit 2e9468e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,32 @@ jobs:

- run: mix test --warnings-as-errors --cover

dialyzer:
runs-on: ubuntu-22.04
env:
MIX_ENV: test

steps:
- uses: actions/checkout@v4

- name: Set up Elixir
id: beam
uses: erlef/setup-beam@v1
with:
elixir-version: 1.16
otp-version: 26

- uses: actions/cache@v4
with:
path: |
deps
_build
key: deps-${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }}-${{ hashFiles('**/mix.lock') }}
restore-keys: |
deps-${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }}
- run: mix deps.get

- name: Restore PLT cache
id: plt_cache_restore
uses: actions/cache/restore@v3
Expand Down

0 comments on commit 2e9468e

Please sign in to comment.