File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,6 @@ concurrency:
1515jobs :
1616 ci :
1717 runs-on : ubuntu-latest
18- strategy :
19- matrix :
20- otp-version : [25.0]
21- elixir-version : [1.13]
2218
2319 services :
2420 db :
@@ -36,23 +32,24 @@ jobs:
3632 steps :
3733 - uses : actions/checkout@v3
3834
39- - uses : erlef/setup-elixir@v1
35+ - uses : erlef/setup-beam@v1
36+ id : setup-beam
4037 with :
41- otp- version: ${{ matrix.otp-version }}
42- elixir- version: ${{ matrix.elixir-version }}
38+ version-file : .tool-versions
39+ version-type : strict
4340
4441 - uses : actions/cache@v3
4542 with :
4643 path : |
4744 deps
4845 _build
4946 priv/plts
50- key : ${{ runner.os }}-mix-${{ matrix. otp-version }}-${{ matrix .elixir-version }}-${{ hashFiles(format('{0}/mix.lock', github.workspace)) }}
47+ key : ${{ runner.os }}-mix-${{ steps.setup-beam.outputs. otp-version }}-${{ steps.setup-beam.outputs .elixir-version }}-${{ hashFiles(format('{0}/mix.lock', github.workspace)) }}
5148
5249 - uses : actions/setup-node@v3
5350 with :
54- node-version : 16.15
55- cache : ' npm'
51+ node-version-file : .tool-versions
52+ cache : npm
5653
5754 - name : Setup environment variables
5855 uses : c-py/action-dotenv-to-setenv@v2
You can’t perform that action at this time.
0 commit comments