Skip to content

Commit

Permalink
Update version of Ubuntu for workflow
Browse files Browse the repository at this point in the history
Github is dropping support for Ubuntu 20.04, so use 22.04 instead.

Add a job for verifying compilation with rebar3. Add rebar3 versions
to use.
  • Loading branch information
vinoski committed Feb 12, 2025
1 parent 442f1ec commit 3d19611
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
make-check:
name: Check on OTP-${{matrix.otp}}
name: Check on OTP versions 23 and newer
strategy:
fail-fast: false
matrix:
Expand All @@ -26,20 +26,17 @@ jobs:
- "25.0"
- "24.3"
- "24.2"
- "24.1"
- "24.0"
- "23.3"
- "23.2"
- "23.1"
- "23.0"
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
rebar3-version: ["3.23.0", "3.24.0"]
version-type: strict

- name: Setup Build
run: |
Expand All @@ -60,6 +57,9 @@ jobs:
- name: Run test suite
run: |
make check
- name: Compile with rebar3
run: |
rebar3 compile
# Currently not working steps
# - name: Try document generation
# run: |
Expand Down

0 comments on commit 3d19611

Please sign in to comment.