Skip to content

Commit

Permalink
fix: CI matrix (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
javiergarea authored Apr 28, 2023
1 parent 5c2baa6 commit 76816e9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ on:
branches: [main]

env:
OTP-VERSION: 25.2.3
REBAR3-VERSION: 3.20.0

jobs:
check:
runs-on: ubuntu-latest

strategy:
matrix:
otp: ['25.2.3', '24.3']
steps:
- uses: actions/checkout@v3

Expand All @@ -23,7 +24,7 @@ jobs:

- uses: erlef/setup-beam@v1
with:
otp-version: ${{ env.OTP-VERSION }}
otp-version: ${{ matrix.otp }}
rebar3-version: ${{ env.REBAR3-VERSION }}

- uses: actions/[email protected]
Expand All @@ -32,7 +33,7 @@ jobs:
path: |
~/.cache/rebar3
_build
key: ${{ runner.os }}-${{ env.OTP-VERSION }}-${{ env.REBAR3-VERSION }}-${{ hashFiles('rebar.lock') }}
key: ${{ runner.os }}-${{ matrix.otp }}-${{ env.REBAR3-VERSION }}-${{ hashFiles('rebar.lock') }}

- name: Compile
run: |
Expand Down

0 comments on commit 76816e9

Please sign in to comment.