diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index 91597150b42..a3f46fbee9f 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -32,7 +32,7 @@ jobs: rm -rf ~/.config/cabal rm -rf ~/.cache/cabal - - uses: actions/cache@v4 + - uses: actions/cache@v5 name: Cache the downloads id: bootstrap-cache with: diff --git a/.github/workflows/quick-jobs.yml b/.github/workflows/quick-jobs.yml index cdcb1dcd24b..d388386f9d7 100644 --- a/.github/workflows/quick-jobs.yml +++ b/.github/workflows/quick-jobs.yml @@ -45,7 +45,7 @@ jobs: - name: Generate build plan for correct cache key run: ${{ env.cabal_build }} --dry-run - name: Restore cached dependencies - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: cache with: path: ~/.local/state/cabal @@ -62,7 +62,7 @@ jobs: git status > /dev/null git diff-files -p --exit-code - name: Cache dependencies - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 if: always() && steps.cache.outputs.cache-hit != 'true' with: path: ~/.local/state/cabal @@ -91,7 +91,7 @@ jobs: run: | echo "DATE=$(date +'%Y-%m-%d')" >> "${GITHUB_ENV}" - name: Restore cached dependencies - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: cache with: path: ~/.local/state/cabal @@ -106,7 +106,7 @@ jobs: run: make doctest - name: Cache dependencies if: always() && steps.cache.outputs.cache-hit != 'true' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: ~/.local/state/cabal key: ${{ steps.cache.outputs.cache-primary-key }} @@ -133,7 +133,7 @@ jobs: - name: Generate build plan for correct cache key run: ${{ env.cabal_build }} --dry-run - name: Restore cached dependencies - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 id: cache with: path: ~/.local/state/cabal @@ -144,7 +144,7 @@ jobs: - name: Are buildinfo docs up to date? run: make doc/buildinfo-fields-reference.rst - name: Cache dependencies - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 if: always() && steps.cache.outputs.cache-hit != 'true' with: path: ~/.local/state/cabal diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 351297ea6b2..ea146e8b7f9 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -135,7 +135,7 @@ jobs: # See the following link for a breakdown of the following step # https://github.com/haskell/actions/issues/7#issuecomment-745697160 - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: # validate.sh uses a special build dir path: | @@ -297,7 +297,7 @@ jobs: # As we are reusing the cached build dir from the previous step # the generated artifacts are available here, # including the cabal executable and the test suite - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: path: | ${{ steps.setup-haskell.outputs.cabal-store }} @@ -350,7 +350,7 @@ jobs: # See the following link for a breakdown of the following step # https://github.com/haskell/actions/issues/7#issuecomment-745697160 - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: # validate.sh uses a special build dir path: |