Skip to content

Commit 9969dea

Browse files
Update CI
1 parent 1b542a5 commit 9969dea

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,30 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
otp_version: ['24', '23', '22', '21']
19-
os: [ubuntu-latest]
18+
include:
19+
- otp_version: 26
20+
os: ubuntu-22.04
21+
rebar3_version: 3.22
22+
- otp_version: 25
23+
os: ubuntu-22.04
24+
rebar3_version: 3.22
25+
- otp_version: 24
26+
os: ubuntu-22.04
27+
rebar3_version: 3.22
28+
- otp_version: 23
29+
os: ubuntu-20.04
30+
rebar3_version: 3.18
31+
- otp_version: 22
32+
os: ubuntu-20.04
33+
rebar3_version: 3.18
2034

2135
steps:
22-
- uses: actions/checkout@v2
36+
- uses: actions/checkout@v3
2337

2438
- uses: erlef/setup-beam@v1
2539
with:
2640
otp-version: ${{ matrix.otp_version }}
27-
rebar3-version: '3.14'
41+
rebar3-version: ${{ matrix.rebar3_version }}
2842

2943
- name: Compile
3044
run: rebar3 compile
@@ -36,9 +50,8 @@ jobs:
3650
run: rebar3 xref
3751

3852
- name: Covertool
39-
if: ${{ always() }}
4053
run: rebar3 covertool generate
41-
- uses: codecov/codecov-action@v1
54+
- uses: codecov/codecov-action@v3
4255
with:
43-
file: _build/test/covertool/elli.covertool.xml
56+
files: _build/test/covertool/elli.covertool.xml
4457
env_vars: OTP_VERSION

0 commit comments

Comments
 (0)