Skip to content

Commit

Permalink
Fix OTP 20 version on CI (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
qcam authored May 7, 2023
1 parent 177438d commit 2d35859
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
- name: Setup Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: '1.12'
otp-version: '24'
elixir-version: '1.14'
otp-version: '25'
- name: Install Dependencies
run: |
mix local.rebar --force
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,34 @@ jobs:
include:
- pair:
elixir: '1.6'
otp: '20.3'
otp: '20'
- pair:
elixir: '1.12'
elixir: '1.14'
otp: '24'
check_format: true

runs-on: ubuntu-latest
runs-on: ubuntu-20.04

name: mix test ${{ matrix.pair.elixir }}-erlang-${{ matrix.pair.otp }}

steps:
- uses: actions/checkout@v1

- name: Setup Elixir
uses: erlef/setup-beam@v1
uses: erlef/setup-beam@v1.10
with:
otp-version: ${{matrix.pair.otp}}
elixir-version: ${{matrix.pair.elixir}}

- name: Install Dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Check format
if: matrix.check_format
run: mix format --check-formatted

- name: Run Tests
run: mix test

0 comments on commit 2d35859

Please sign in to comment.