File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change 7
7
branches : [ main ]
8
8
9
9
jobs :
10
- build :
11
-
12
- name : Build and test
13
- runs-on : ubuntu-latest
14
-
10
+ test :
11
+ name : OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
12
+ runs-on : ubuntu-22.04
13
+ strategy :
14
+ matrix :
15
+ otp : ['26.x', '27.x']
16
+ elixir : ['1.16.3', '1.17.3', '1.18.3']
17
+ exclude :
18
+ - otp : ' 27.x'
19
+ elixir : ' 1.16.3'
15
20
steps :
16
21
- uses : actions/checkout@v2
17
- - name : Set up Elixir
18
- uses : erlef/setup-elixir@885971a72ed1f9240973bd92ab57af8c1aa68f24
19
- with :
20
- elixir-version : ' 1.13.1'
21
- otp-version : ' 24.0.4'
22
- - name : Restore dependencies cache
23
- uses : actions/cache@v2
22
+ - uses : erlef/setup-beam@v1
24
23
with :
25
- path : deps
26
- key : ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
27
- restore-keys : ${{ runner.os }}-mix-
24
+ otp-version : ${{matrix.otp}}
25
+ elixir-version : ${{matrix.elixir}}
28
26
- name : Install dependencies
29
27
run : mix deps.get
30
28
- name : Static Code Analysis - Dialyzer
You can’t perform that action at this time.
0 commit comments