File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ jobs:
13
13
strategy :
14
14
matrix :
15
15
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' ]
18
18
steps :
19
19
# Setup.
20
20
- name : Checkout repo
21
- uses : actions/checkout@v3
21
+ uses : actions/checkout@v4
22
22
- name : Set up Elixir
23
23
id : beam
24
24
uses : erlef/setup-beam@v1
@@ -28,15 +28,15 @@ jobs:
28
28
29
29
# Build cache.
30
30
- name : Build cache
31
- uses : actions/cache@v3
31
+ uses : actions/cache@v4
32
32
with :
33
33
path : _build
34
34
key : build-${{matrix.os}}-${{matrix.otp}}-${{matrix.elixir}}-${{ hashFiles('lib/**/*.ex') }}
35
35
restore-keys : build-${{matrix.os}}-${{matrix.otp}}-${{matrix.elixir}}-
36
36
37
37
# Get and compile elixir deps.
38
38
- name : Elixir Deps cache
39
- uses : actions/cache@v3
39
+ uses : actions/cache@v4
40
40
with :
41
41
path : deps
42
42
key : mix-${{ matrix.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('**/mix.lock') }}
@@ -60,11 +60,11 @@ jobs:
60
60
61
61
# Static analysis (Dialyzer).
62
62
- name : Restore PLT cache
63
- uses : actions/cache@v3
63
+ uses : actions/cache@v4
64
64
id : plt_cache
65
65
with :
66
66
path : priv/plts
67
- key : plt-${{ matrix.os }}-${{ matrix.elixir }}-${{ matrix.otp }}
67
+ key : plt-${{ matrix.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('lib/**/*.ex') }}
68
68
restore-keys : plt-${{ matrix.os }}-${{ matrix.elixir }}-${{ matrix.otp }}
69
69
70
70
# Create PLTs if no cache was found
You can’t perform that action at this time.
0 commit comments