Skip to content

Commit

Permalink
ci: revamp workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thalesmg committed Oct 17, 2024
1 parent 301088c commit 1989efa
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,26 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
otp: [23.2, 24.0.2]
otp: ['26.2.5', '27.1']
rebar3: ['3.22.1']
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.2.1
with:
submodules: recursive
- uses: gleam-lang/setup-erlang@v1.1.2
- name: Setup Erlang/OTP
uses: erlef/setup-beam@v1.17.5
with:
otp-version: ${{ matrix.otp }}
rebar3-version: ${{ matrix.rebar3 }}
- run: |
make
- name: Archive CT Logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.4.3
with:
name: ct-logs
name: ct-logs-${{ matrix.otp }}
path: _build/test/
retention-days: 1

0 comments on commit 1989efa

Please sign in to comment.