Skip to content

Commit 7520af7

Browse files
update ci
1 parent 6d8d845 commit 7520af7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: ['ubuntu-latest']
16-
elixir: ['1.16.x']
17-
otp: ['26.x']
16+
elixir: ['1.16.x', '1.17.x', '1.18.x']
17+
otp: ['26.x', '27.x']
1818
steps:
1919
# Setup.
2020
- name: Checkout repo
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
- name: Set up Elixir
2323
id: beam
2424
uses: erlef/setup-beam@v1
@@ -28,15 +28,15 @@ jobs:
2828

2929
# Build cache.
3030
- name: Build cache
31-
uses: actions/cache@v3
31+
uses: actions/cache@v4
3232
with:
3333
path: _build
3434
key: build-${{matrix.os}}-${{matrix.otp}}-${{matrix.elixir}}-${{ hashFiles('lib/**/*.ex') }}
3535
restore-keys: build-${{matrix.os}}-${{matrix.otp}}-${{matrix.elixir}}-
3636

3737
# Get and compile elixir deps.
3838
- name: Elixir Deps cache
39-
uses: actions/cache@v3
39+
uses: actions/cache@v4
4040
with:
4141
path: deps
4242
key: mix-${{ matrix.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('**/mix.lock') }}
@@ -60,11 +60,11 @@ jobs:
6060

6161
# Static analysis (Dialyzer).
6262
- name: Restore PLT cache
63-
uses: actions/cache@v3
63+
uses: actions/cache@v4
6464
id: plt_cache
6565
with:
6666
path: priv/plts
67-
key: plt-${{ matrix.os }}-${{ matrix.elixir }}-${{ matrix.otp }}
67+
key: plt-${{ matrix.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('lib/**/*.ex') }}
6868
restore-keys: plt-${{ matrix.os }}-${{ matrix.elixir }}-${{ matrix.otp }}
6969

7070
# Create PLTs if no cache was found

0 commit comments

Comments
 (0)