diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 38426675ab..4004796eaf 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -67,14 +67,14 @@ jobs: cabal build all --dry-run cat dist-newstyle/cache/plan.json | jq -L .github/workflows/jq-install-plan | sort | uniq > dependencies.txt - - uses: actions/cache@v4 + - uses: actions/cache@v5 name: "Restore cache: `cabal store`" with: path: ${{ steps.setup-haskell.outputs.cabal-store }} key: cache-dependencies-${{ env.CABAL_CACHE_VERSION }}-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('dependencies.txt') }} restore-keys: cache-dependencies-${{ env.CABAL_CACHE_VERSION }}-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }} - - uses: actions/cache@v4 + - uses: actions/cache@v5 name: "Cache `dist-newstyle`" with: path: | @@ -86,7 +86,7 @@ jobs: - name: Build dependencies run: cabal build --only-dependencies all -j - - uses: actions/cache/save@v4 + - uses: actions/cache/save@v5 name: "Save cache: `cabal store`" with: path: ${{ steps.setup-haskell.outputs.cabal-store }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d7a0ccf0f2..78327a1a7f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,7 +66,7 @@ jobs: cabal build all --dry-run cat dist-newstyle/cache/plan.json | jq -L .github/workflows/jq-install-plan | sort | uniq > dependencies.txt - - uses: actions/cache/restore@v4 + - uses: actions/cache/restore@v5 name: "Restore cache: `cabal store`" id: cache-dependencies with: @@ -74,7 +74,7 @@ jobs: key: cache-dependencies-${{ env.CABAL_CACHE_VERSION }}-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('dependencies.txt') }} restore-keys: cache-dependencies-${{ env.CABAL_CACHE_VERSION }}-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }} - - uses: actions/cache@v4 + - uses: actions/cache@v5 name: "Cache `dist-newstyle`" with: path: | @@ -86,7 +86,7 @@ jobs: - name: Build dependencies run: cabal build --only-dependencies all -j - - uses: actions/cache/save@v4 + - uses: actions/cache/save@v5 name: "Save cache: `cabal store`" if: always() && steps.cache-dependencies.outputs.cache-hit != 'true' with: diff --git a/.github/workflows/github-page.yml b/.github/workflows/github-page.yml index 8c5aec8a84..f923153a71 100644 --- a/.github/workflows/github-page.yml +++ b/.github/workflows/github-page.yml @@ -55,7 +55,7 @@ jobs: with: use-sodium-vrf: false - - uses: actions/cache@v4 + - uses: actions/cache@v5 name: Cache cabal store with: path: ${{ steps.setup-haskell.outputs.cabal-store }} diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index e610a46e6e..7ca1b5a250 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -88,7 +88,7 @@ jobs: cabal build all --dry-run cat dist-newstyle/cache/plan.json | jq -L .github/workflows/jq-install-plan | sort | uniq > dependencies.txt - - uses: actions/cache/restore@v4 + - uses: actions/cache/restore@v5 name: "Restore cache: `cabal store`" id: restore-cabal-store with: @@ -96,7 +96,7 @@ jobs: key: cache-dependencies-${{ env.CABAL_CACHE_VERSION }}-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('dependencies.txt') }} restore-keys: cache-dependencies-${{ env.CABAL_CACHE_VERSION }}-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }} - - uses: actions/cache@v4 + - uses: actions/cache@v5 name: "Cache `dist-newstyle`" with: path: | @@ -108,7 +108,7 @@ jobs: - name: Build dependencies run: cabal build --only-dependencies all -j - - uses: actions/cache/save@v4 + - uses: actions/cache/save@v5 name: "Save cache: `cabal store`" with: path: ${{ steps.setup-haskell.outputs.cabal-store }}