Skip to content

Commit a35819d

Browse files
committed
WIP
1 parent 0eb2ee7 commit a35819d

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,23 @@ jobs:
7070
# *without* the Elixir compiled code in it.
7171
- name: Cache compiled Elixir code
7272
uses: actions/cache@v4
73-
id: mix-cache
73+
id: mix-cache-main
7474
with:
75-
path: |
76-
_build
77-
test_integrations/phoenix_app/_build
75+
path: _build
76+
key: |
77+
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-main-${{ hashFiles('**/mix.lock') }}
78+
restore-keys: |
79+
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-main-
80+
81+
- name: Cache compiled Elixir code (integration tests)
82+
uses: actions/cache@v4
83+
id: mix-cache-integration
84+
with:
85+
path: test_integrations/phoenix_app/_build
7886
key: |
79-
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }}
87+
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-integration-${{ hashFiles('test_integrations/phoenix_app/mix.lock') }}
8088
restore-keys: |
81-
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-
89+
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-integration-
8290
8391
- name: Compile Elixir code (with --warnings-as-errors)
8492
if: matrix.lint

0 commit comments

Comments
 (0)