Skip to content

Commit 3ff0bfe

Browse files
authored
Update versions in CI (#43)
1 parent 8217d4d commit 3ff0bfe

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

.github/workflows/ci.yml

+15-14
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,40 @@ on:
88

99
jobs:
1010
test:
11-
runs-on: ubuntu-20.04
11+
runs-on: ${{ matrix.os }}
1212
env:
1313
MIX_ENV: test
1414
strategy:
1515
fail-fast: false
1616
matrix:
1717
include:
18-
- pair:
19-
elixir: 1.11
20-
otp: 23.3
21-
- pair:
22-
elixir: 1.16
23-
otp: 26.2
18+
# Oldest.
19+
- elixir: "1.11"
20+
otp: "23.3"
21+
os: ubuntu-20.04
22+
23+
# Newest.
24+
- elixir: "1.17"
25+
otp: "27.0"
2426
lint: lint
27+
os: ubuntu-latest
28+
2529
steps:
2630
- uses: actions/checkout@v4
2731

2832
- uses: erlef/setup-beam@v1
2933
with:
30-
otp-version: ${{matrix.pair.otp}}
31-
elixir-version: ${{matrix.pair.elixir}}
34+
otp-version: ${{ matrix.otp }}
35+
elixir-version: ${{ matrix.elixir }}
3236

33-
- name: Install Dependencies
34-
run: mix deps.get --only test
37+
- run: mix deps.get --only test
3538

3639
- run: mix format --check-formatted
3740
if: ${{ matrix.lint }}
3841

39-
- run: mix deps.get && mix deps.unlock --check-unused
42+
- run: mix do deps.get, deps.unlock --check-unused
4043
if: ${{ matrix.lint }}
4144

42-
- run: mix deps.compile
43-
4445
- run: mix compile --warnings-as-errors
4546
if: ${{ matrix.lint }}
4647

0 commit comments

Comments
 (0)