Skip to content

Commit

Permalink
Update CI to use Elixir 1.13.4/OTP 25.2
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgoetze committed Mar 5, 2023
1 parent 072ddd3 commit cdc5517
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,23 @@ jobs:
build:
runs-on: ubuntu-latest

name: Test on OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
# Specify the OTP and Elixir versions to use when building
# and running the workflow steps.
matrix:
otp: ['25.2'] # Define the OTP version [required]
elixir: ['1.13.4'] # Define the elixir version [required]

steps:
- uses: actions/checkout@v2
- name: Setup elixir
uses: actions/setup-elixir@v1

# Step: Setup Elixir + Erlang image as the base.
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: 1.9.4 # Define the elixir version [required]
otp-version: 22.2 # Define the OTP version [required]
- name: Check formatting
run: mix format --check-formatted
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}

- name: Cache Dependencies
id: mix-cache
Expand Down

0 comments on commit cdc5517

Please sign in to comment.