Skip to content

Commit

Permalink
Generilize elixir cache path to improve hits
Browse files Browse the repository at this point in the history
  • Loading branch information
arbulu89 committed Jul 24, 2024
1 parent 8b404f2 commit 115922b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,15 @@ env:

jobs:
elixir-deps:
name: Elixir dependencies
name: Elixir ${{ matrix.mix_env }} dependencies
runs-on: ubuntu-20.04
strategy:
matrix:
include:
- mix_env: dev
- mix_env: test
env:
MIX_ENV: ${{ matrix.mix_env }}
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
Expand All @@ -44,7 +51,7 @@ jobs:
with:
path: |
deps
_build/test
_build/${{ matrix.mix_env }}
priv/plts
key: ${{ runner.os }}-${{ steps.setup-elixir.outputs.otp-version }}-${{ steps.setup-elixir.outputs.elixir-version }}-${{ hashFiles('mix.lock') }}
- name: Install Dependencies
Expand Down

0 comments on commit 115922b

Please sign in to comment.