diff --git a/.github/workflows/github-page.yml b/.github/workflows/github-page.yml index 9b6aa29..3a9b485 100644 --- a/.github/workflows/github-page.yml +++ b/.github/workflows/github-page.yml @@ -44,7 +44,7 @@ jobs: ghc-version: ${{ matrix.ghc }} cabal-version: 'head' - - uses: actions/cache@v4 + - uses: actions/cache@v6 name: Cache cabal store with: path: ${{ steps.setup-haskell.outputs.cabal-store }} diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 902d6f7..35c0efd 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -53,14 +53,14 @@ jobs: cat dist-newstyle/cache/plan.json | jq -r '."install-plan"[].id' | sort | uniq > dependencies.txt echo "weeknum=$(/bin/date -u "+%W")" >> $GITHUB_OUTPUT - - uses: actions/cache@v5 + - uses: actions/cache@v6 name: "Cache cabal store" with: path: ${{ runner.os == 'Windows' && steps.win-setup-haskell.outputs.cabal-store || steps.setup-haskell.outputs.cabal-store }} key: cache-dependencies-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('dependencies.txt') }} restore-keys: cache-dependencies-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }} - - uses: actions/cache@v5 + - uses: actions/cache@v6 name: "Cache `dist-newstyle`" with: path: | @@ -108,7 +108,7 @@ jobs: run: | echo "$HOME/.cabal/bin" >> $GITHUB_PATH - - uses: actions/cache@v5 + - uses: actions/cache@v6 name: "Cache `stylish-haskell`" with: path: ~/.cabal/bin/stylish-haskell