Skip to content

Commit 731d93d

Browse files
committed
Include otp and elixir versions in cache
1 parent 81a6d0a commit 731d93d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
uses: actions/cache@v2
3232
with:
3333
path: deps
34-
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
35-
restore-keys: ${{ runner.os }}-mix-
34+
key: ${{ runner.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-mix-${{ hashFiles('**/mix.lock') }}
35+
restore-keys: ${{ runner.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-mix-
3636

3737
- run: mix deps.get
3838
- run: mix test

0 commit comments

Comments
 (0)