From 6d29d7e926bf67dc3c2a9da77fb579adea249c5e Mon Sep 17 00:00:00 2001 From: Nico Piderman Date: Fri, 9 Feb 2024 14:48:29 +0100 Subject: [PATCH] upgrade gh actions checkout and cache steps to v4 --- .github/workflows/elixir.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 53f29cc..a7b8e36 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -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') }} @@ -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: