Skip to content

Commit 6be0e63

Browse files
committed
ci: version the deps cache key
Beams compiled by one Elixir/OTP pair can't be cover-instrumented by another; coverage was picking up the 1.19/OTP 26 build. Include both versions in the cache key.
1 parent 1f0b9b0 commit 6be0e63

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
path: |
3333
deps
3434
_build
35-
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
35+
key: ${{ runner.os }}-mix-1.20-27-${{ hashFiles('**/mix.lock') }}
3636
restore-keys: ${{ runner.os }}-mix-
3737

3838
- uses: actions/cache@v4
@@ -64,7 +64,7 @@ jobs:
6464
path: |
6565
deps
6666
_build
67-
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
67+
key: ${{ runner.os }}-mix-1.20-27-${{ hashFiles('**/mix.lock') }}
6868
restore-keys: ${{ runner.os }}-mix-
6969

7070
- name: Fetch dependencies

0 commit comments

Comments
 (0)