diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 543d514..d81ed1f 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -265,7 +265,7 @@ jobs: $CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all cabal-plan - name: restore cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }} path: ~/.cabal/store @@ -296,7 +296,7 @@ jobs: $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all - name: save cache if: always() - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }} path: ~/.cabal/store diff --git a/.github/workflows/stack.yml b/.github/workflows/stack.yml index 685c47d..851cd9c 100644 --- a/.github/workflows/stack.yml +++ b/.github/workflows/stack.yml @@ -105,7 +105,7 @@ jobs: enable-stack: true - name: Restore cache dependencies - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: cache env: key: ${{ runner.os }}-stack-${{ steps.setup.outputs.stack-version }}-ghc-${{ steps.setup.outputs.ghc-version }} @@ -132,7 +132,7 @@ jobs: stack exec ${ARGS} -- fix-whitespace --check - name: Cache dependencies - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 if: always() && steps.cache.outputs.cache-hit != 'true' with: path: ${{ steps.setup.outputs.stack-root }}