Skip to content

Commit

Permalink
upgrade gh actions checkout and cache steps to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
sneako committed Feb 9, 2024
1 parent 97c70e6 commit 6d29d7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
otp: "26.x"
lint: lint
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: deps
key: deps-${{ runner.os }}-${{ matrix.pair.otp }}-${{ matrix.pair.elixir }}-${{ hashFiles('**/mix.lock') }}
restore-keys: deps-${{ runner.os }}-${{ matrix.pair.otp }}-${{ matrix.pair.elixir }}-
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: _build
key: build-${{ runner.os }}-${{ matrix.pair.otp }}-${{ matrix.pair.elixir }}-${{ hashFiles('**/mix.lock') }}
Expand All @@ -40,7 +40,7 @@ jobs:
# Don't cache PLTs based on mix.lock hash, as Dialyzer can incrementally update even old ones
# Cache key based on Elixir & Erlang version (also useful when running in matrix)
- name: Cache Dialyzer's PLT
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ matrix.lint }}
id: cache-plt
with:
Expand Down

0 comments on commit 6d29d7e

Please sign in to comment.