Skip to content

Commit e3372df

Browse files
committed
Add Dialyzer CI job
1 parent 4836eb7 commit e3372df

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/quality.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,34 @@ jobs:
4242

4343
- name: Run credo
4444
run: mix credo
45+
dialyzer:
46+
name: Dialyzer
47+
runs-on: ubuntu-24.04
48+
49+
strategy:
50+
fail-fast: false
51+
52+
steps:
53+
- name: Set up Elixir and OTP
54+
uses: erlef/setup-beam@v1
55+
with:
56+
elixir-version: ${{ env.elixir_version }}
57+
otp-version: ${{ env.otp_version }}
58+
59+
- name: Checkout code
60+
uses: actions/checkout@v4
61+
62+
- name: 'Restore cache for deps/ and _build/ directories'
63+
uses: actions/cache@v4
64+
with:
65+
path: |
66+
deps
67+
_build
68+
key: ${{ runner.os }}-mix-dev-${{ env.elixir_version }}-${{ env.otp_version }}-${{ hashFiles('**/mix.lock') }}
69+
restore-keys: ${{ runner.os }}-mix-dev-${{ env.elixir_version }}-${{ env.otp_version }}-
70+
71+
- name: Install Mix dependencies
72+
run: mix deps.get
73+
74+
- name: Run dialyzer
75+
run: mix dialyzer

0 commit comments

Comments
 (0)