diff --git a/.github/workflows/cabal-mac-win.yml b/.github/workflows/cabal-mac-win.yml index f16d6d7..0a1d2ab 100644 --- a/.github/workflows/cabal-mac-win.yml +++ b/.github/workflows/cabal-mac-win.yml @@ -105,7 +105,7 @@ jobs: # cabal build --dry-run creates dist-newstyle/cache/plan.json - name: Restore cached build products - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: cache with: path: | @@ -127,7 +127,7 @@ jobs: cabal test all --test-show-details=direct - name: Cache build products - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 if: always() && steps.cache.outputs.cache-hit != 'true' with: path: | diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 2ad4c7b..539a586 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -223,7 +223,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 @@ -254,7 +254,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