File tree Expand file tree Collapse file tree 1 file changed +41
-7
lines changed Expand file tree Collapse file tree 1 file changed +41
-7
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,52 @@ jobs:
14
14
runs-on : ${{ matrix.os }}
15
15
16
16
strategy :
17
+ fail-fast : false
17
18
matrix :
18
- otp_version : ['24', '23', '22', '21']
19
- os : [ubuntu-latest]
19
+ include :
20
+ - otp_version : 26
21
+ os : ubuntu-22.04
22
+ rebar3_version : 3.22
23
+ - otp_version : 25
24
+ os : ubuntu-22.04
25
+ rebar3_version : 3.22
26
+ - otp_version : 24
27
+ os : ubuntu-22.04
28
+ rebar3_version : 3.22
29
+ - otp_version : 23
30
+ os : ubuntu-20.04
31
+ rebar3_version : 3.18
32
+ - otp_version : 22
33
+ os : ubuntu-20.04
34
+ rebar3_version : 3.18
20
35
21
36
steps :
22
- - uses : actions/checkout@v2
37
+ - uses : actions/checkout@v3
38
+
39
+ - name : Restore _build
40
+ uses : actions/cache@v3
41
+ with :
42
+ path : _build
43
+ key : " _build-cache-for\
44
+ -os-${{runner.os}}\
45
+ -otp-${{steps.setup-beam.outputs.otp-version}}\
46
+ -rebar3-${{steps.setup-beam.outputs.rebar3-version}}\
47
+ -hash-${{hashFiles('rebar.lock')}}"
48
+
49
+ - name : Restore rebar3's cache
50
+ uses : actions/cache@v3
51
+ with :
52
+ path : ~/.cache/rebar3
53
+ key : " rebar3-cache-for\
54
+ -os-${{runner.os}}\
55
+ -otp-${{steps.setup-beam.outputs.otp-version}}\
56
+ -rebar3-${{steps.setup-beam.outputs.rebar3-version}}\
57
+ -hash-${{hashFiles('rebar.lock')}}"
23
58
24
59
- uses : erlef/setup-beam@v1
25
60
with :
26
61
otp-version : ${{ matrix.otp_version }}
27
- rebar3-version : ' 3.14 '
62
+ rebar3-version : ${{ matrix.rebar3_version }}
28
63
29
64
- name : Compile
30
65
run : rebar3 compile
36
71
run : rebar3 xref
37
72
38
73
- name : Covertool
39
- if : ${{ always() }}
40
74
run : rebar3 covertool generate
41
- - uses : codecov/codecov-action@v1
75
+ - uses : codecov/codecov-action@v3
42
76
with :
43
- file : _build/test/covertool/elli.covertool.xml
77
+ files : _build/test/covertool/elli.covertool.xml
44
78
env_vars : OTP_VERSION
You can’t perform that action at this time.
0 commit comments