Skip to content

Commit 4628474

Browse files
authored
Merge pull request #1463 from naymspace/feature/improve-ci
Update test matrix
2 parents 66da898 + 9bf7b66 commit 4628474

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,23 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
elixir: ["1.17", "1.16"]
27-
erlang: ["27.1", "26.2"]
28-
exclude:
26+
include:
2927
- elixir: "1.16"
30-
erlang: "27.1"
28+
otp: "26.2"
29+
30+
- elixir: "1.17"
31+
otp: "27.3"
32+
33+
- elixir: "1.18"
34+
otp: "28.0"
3135

3236
steps:
3337
- name: Checkout code
3438
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3539

3640
- uses: erlef/setup-beam@e6d7c94229049569db56a7ad5a540c051a010af9 # v1.20.4
3741
with:
38-
otp-version: ${{ matrix.erlang }}
42+
otp-version: ${{ matrix.otp }}
3943
elixir-version: ${{ matrix.elixir }}
4044

4145
- name: Setup node
@@ -54,8 +58,8 @@ jobs:
5458
path: |
5559
deps
5660
_build
57-
key: ${{ runner.os }}-${{ matrix.elixir }}-${{ matrix.erlang }}-build-deps-mixlockhash-${{ env.MIX_LOCK_HASH }}
58-
restore-keys: ${{ runner.os }}-${{ matrix.elixir }}-${{ matrix.erlang }}-build-deps-
61+
key: ${{ runner.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-build-deps-mixlockhash-${{ env.MIX_LOCK_HASH }}
62+
restore-keys: ${{ runner.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-build-deps-
5963

6064
- name: Install dependencies
6165
if: steps.restore-cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)