Skip to content

Commit a95d3be

Browse files
authored
Bump Erlang and Elixir versions in CI (#293)
1 parent 88e19ab commit a95d3be

File tree

1 file changed

+32
-10
lines changed

1 file changed

+32
-10
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,19 @@ on:
88

99
jobs:
1010
test:
11-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-22.04
1212
env:
1313
MIX_ENV: test
14+
1415
strategy:
1516
fail-fast: false
1617
matrix:
1718
include:
1819
- pair:
19-
elixir: 1.13.1
20-
otp: 24.2
20+
elixir: 1.14.2
21+
otp: 25.0
2122
lint: lint
22-
- pair:
23-
elixir: 1.7.4
24-
otp: 19.3.6.13
23+
2524
steps:
2625
- uses: actions/checkout@v2
2726

@@ -30,10 +29,8 @@ jobs:
3029
otp-version: ${{ matrix.pair.otp }}
3130
elixir-version: ${{ matrix.pair.elixir }}
3231

33-
- name: Install Dependencies
34-
run: |
35-
mix deps.get --only test
36-
mix deps.compile
32+
- name: Install dependencies
33+
run: mix do deps.get --only $MIX_ENV, deps.compile
3734

3835
- name: Check that code is formatted
3936
run: mix format --check-formatted
@@ -49,3 +46,28 @@ jobs:
4946

5047
- name: Run tests
5148
run: mix test
49+
50+
test_older_elixir:
51+
runs-on: ubuntu-18.04
52+
env:
53+
MIX_ENV: test
54+
strategy:
55+
fail-fast: false
56+
matrix:
57+
include:
58+
- pair:
59+
elixir: 1.7.4
60+
otp: 19.3.6.13
61+
steps:
62+
- uses: actions/checkout@v2
63+
64+
- uses: erlef/setup-beam@v1
65+
with:
66+
otp-version: ${{ matrix.pair.otp }}
67+
elixir-version: ${{ matrix.pair.elixir }}
68+
69+
- name: Install dependencies
70+
run: mix do deps.get --only $MIX_ENV, deps.compile
71+
72+
- name: Run tests
73+
run: mix test

0 commit comments

Comments
 (0)