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:
1414 runs-on : ${{ matrix.os }}
1515
1616 strategy :
17+ fail-fast : false
1718 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
2035
2136 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')}}"
2358
2459 - uses : erlef/setup-beam@v1
2560 with :
2661 otp-version : ${{ matrix.otp_version }}
27- rebar3-version : ' 3.14 '
62+ rebar3-version : ${{ matrix.rebar3_version }}
2863
2964 - name : Compile
3065 run : rebar3 compile
3671 run : rebar3 xref
3772
3873 - name : Covertool
39- if : ${{ always() }}
4074 run : rebar3 covertool generate
41- - uses : codecov/codecov-action@v1
75+ - uses : codecov/codecov-action@v3
4276 with :
43- file : _build/test/covertool/elli.covertool.xml
77+ files : _build/test/covertool/elli.covertool.xml
4478 env_vars : OTP_VERSION
You can’t perform that action at this time.
0 commit comments