Skip to content

Commit 7cce569

Browse files
committed
Update version of Ubuntu for workflow
Github is dropping support for Ubuntu 20.04, so use 22.04 instead. Instead of listing all OTP versions, use ">22". Add a job for verifying compilation with rebar.
1 parent 442f1ec commit 7cce569

File tree

1 file changed

+7
-23
lines changed

1 file changed

+7
-23
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,37 +9,18 @@ on:
99

1010
jobs:
1111
make-check:
12-
name: Check on OTP-${{matrix.otp}}
12+
name: Check on OTP versions 23 and newer
1313
strategy:
1414
fail-fast: false
15-
matrix:
16-
otp:
17-
- "27.2"
18-
- "27.1"
19-
- "27.0"
20-
- "26.2"
21-
- "26.1"
22-
- "26.0"
23-
- "25.3"
24-
- "25.2"
25-
- "25.1"
26-
- "25.0"
27-
- "24.3"
28-
- "24.2"
29-
- "24.1"
30-
- "24.0"
31-
- "23.3"
32-
- "23.2"
33-
- "23.1"
34-
- "23.0"
35-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-22.04
3616
steps:
3717
- name: Checkout Repo
3818
uses: actions/checkout@v4
3919

4020
- uses: erlef/setup-beam@v1
4121
with:
42-
otp-version: ${{matrix.otp}}
22+
otp-version: >22
23+
version-type: loose
4324

4425
- name: Setup Build
4526
run: |
@@ -60,6 +41,9 @@ jobs:
6041
- name: Run test suite
6142
run: |
6243
make check
44+
- name: Compile with rebar
45+
run: |
46+
rebar compile
6347
# Currently not working steps
6448
# - name: Try document generation
6549
# run: |

0 commit comments

Comments
 (0)