Skip to content

Commit

Permalink
Fix workflow cache to consider otp/elixir versions (#201)
Browse files Browse the repository at this point in the history
* Fix workflow cache to consider otp/elixir versions

* Update action-versions

---------

Co-authored-by: parroty <[email protected]>
  • Loading branch information
parroty and parroty authored May 11, 2023
1 parent e06e792 commit 2c5bdce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GLOBAL_MOCK: ${{ matrix.global-mock }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-
- run: mix deps.get
- uses: nick-invision/retry@v2
with:
Expand Down

0 comments on commit 2c5bdce

Please sign in to comment.