Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
solnic committed Nov 20, 2024
1 parent 0eb2ee7 commit a35819d
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,23 @@ jobs:
# *without* the Elixir compiled code in it.
- name: Cache compiled Elixir code
uses: actions/cache@v4
id: mix-cache
id: mix-cache-main
with:
path: |
_build
test_integrations/phoenix_app/_build
path: _build
key: |
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-main-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-main-
- name: Cache compiled Elixir code (integration tests)
uses: actions/cache@v4
id: mix-cache-integration
with:
path: test_integrations/phoenix_app/_build
key: |
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }}
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-integration-${{ hashFiles('test_integrations/phoenix_app/mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-integration-
- name: Compile Elixir code (with --warnings-as-errors)
if: matrix.lint
Expand Down

0 comments on commit a35819d

Please sign in to comment.