Skip to content

Commit 4950c8d

Browse files
committed
Update CI to use Elixir 1.13.4/OTP 25.2
1 parent 072ddd3 commit 4950c8d

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/elixir.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,20 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212

13+
name: Test on OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
14+
strategy:
15+
# Specify the OTP and Elixir versions to use when building
16+
# and running the workflow steps.
17+
matrix:
18+
otp: ['25.2.0'] # Define the OTP version [required]
19+
elixir: ['1.13.4'] # Define the elixir version [required]
1320
steps:
14-
- uses: actions/checkout@v2
15-
- name: Setup elixir
16-
uses: actions/setup-elixir@v1
21+
# Step: Setup Elixir + Erlang image as the base.
22+
- name: Set up Elixir
23+
uses: erlef/setup-beam@v1
1724
with:
18-
elixir-version: 1.9.4 # Define the elixir version [required]
19-
otp-version: 22.2 # Define the OTP version [required]
25+
otp-version: ${{matrix.otp}}
26+
elixir-version: ${{matrix.elixir}}
2027
- name: Check formatting
2128
run: mix format --check-formatted
2229

0 commit comments

Comments
 (0)