File tree 1 file changed +15
-14
lines changed
1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
test :
11
- runs-on : ubuntu-20.04
11
+ runs-on : ${{ matrix.os }}
12
12
env :
13
13
MIX_ENV : test
14
14
strategy :
15
15
fail-fast : false
16
16
matrix :
17
17
include :
18
- - pair :
19
- elixir : 1.11
20
- otp : 23.3
21
- - pair :
22
- elixir : 1.16
23
- otp : 26.2
18
+ # Oldest.
19
+ - elixir : " 1.11"
20
+ otp : " 23.3"
21
+ os : ubuntu-20.04
22
+
23
+ # Newest.
24
+ - elixir : " 1.17"
25
+ otp : " 27.0"
24
26
lint : lint
27
+ os : ubuntu-latest
28
+
25
29
steps :
26
30
- uses : actions/checkout@v4
27
31
28
32
- uses : erlef/setup-beam@v1
29
33
with :
30
- otp-version : ${{matrix.pair. otp}}
31
- elixir-version : ${{matrix.pair. elixir}}
34
+ otp-version : ${{ matrix.otp }}
35
+ elixir-version : ${{ matrix.elixir }}
32
36
33
- - name : Install Dependencies
34
- run : mix deps.get --only test
37
+ - run : mix deps.get --only test
35
38
36
39
- run : mix format --check-formatted
37
40
if : ${{ matrix.lint }}
38
41
39
- - run : mix deps.get && mix deps.unlock --check-unused
42
+ - run : mix do deps.get, deps.unlock --check-unused
40
43
if : ${{ matrix.lint }}
41
44
42
- - run : mix deps.compile
43
-
44
45
- run : mix compile --warnings-as-errors
45
46
if : ${{ matrix.lint }}
46
47
You can’t perform that action at this time.
0 commit comments