Skip to content

Commit 76d2e4e

Browse files
committed
Fix CI
1 parent 43a62a1 commit 76d2e4e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- elixir: 1.11.x
2020
otp: 23.x
2121
coverage: true
22+
dialyzer: true
2223
- elixir: 1.10.x
2324
otp: 23.x
2425
- elixir: 1.10.x
@@ -35,10 +36,11 @@ jobs:
3536
- uses: actions/checkout@v2
3637

3738
- name: Install OTP and Elixir
38-
uses: actions/setup-elixir@v1
39+
uses: actions/setup-elixir@v1.5.0
3940
with:
4041
otp-version: '${{ matrix.otp }}'
4142
elixir-version: '${{ matrix.elixir }}'
43+
experimental-otp: true
4244

4345
- name: Cache deps
4446
uses: actions/cache@v1
@@ -89,11 +91,12 @@ jobs:
8991
uses: actions/cache@v1
9092
with:
9193
path: priv/plts
92-
key: '${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-plt-v1'
94+
key: '${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-plt-v2'
9395
restore-keys: |
94-
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-plt-v1
96+
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-plt-v2
9597
9698
- name: Run static analysis checks
9799
run: |
98100
mix sobelow --exit --skip
99101
mix dialyzer --format short
102+
if: ${{matrix.dialyzer}}

0 commit comments

Comments
 (0)