diff --git a/.github/workflows/cabal-mac-win.yml b/.github/workflows/cabal-mac-win.yml index 708b5d1..3697873 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@v5 + uses: actions/cache/restore@v6 id: cache with: path: | @@ -127,7 +127,7 @@ jobs: cabal test all --test-show-details=direct - name: Cache build products - uses: actions/cache/save@v5 + uses: actions/cache/save@v6 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 dc95534..a756dec 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -235,7 +235,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@v6 with: key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }} path: ~/.cabal/store @@ -266,7 +266,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@v6 with: key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }} path: ~/.cabal/store