diff --git a/.github/workflows/presubmit-cabal.yaml b/.github/workflows/presubmit-cabal.yaml index f99d5c382..dc609ea7a 100644 --- a/.github/workflows/presubmit-cabal.yaml +++ b/.github/workflows/presubmit-cabal.yaml @@ -41,7 +41,7 @@ jobs: ghc-version: ${{ matrix.ghc }} - name: Cache dist-newstyle - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: dist-newstyle key: dist-newstyle-${{ matrix.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('internal/**','src/**','app/**','tests/**','benchmarks/**') }} @@ -50,7 +50,7 @@ jobs: dist-newstyle-${{ matrix.os }}-${{ matrix.ghc }}- - name: Cache ~/.cabal/store - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.setup-haskell.outputs.cabal-store }} key: cabal-store-${{ matrix.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal') }} diff --git a/.github/workflows/presubmit-stack.yaml b/.github/workflows/presubmit-stack.yaml index 8e8bb3f3b..e470e7cbf 100644 --- a/.github/workflows/presubmit-stack.yaml +++ b/.github/workflows/presubmit-stack.yaml @@ -36,7 +36,7 @@ jobs: stack-no-global: true - name: Cache .stack-work - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: .stack-work key: stack-work-${{ matrix.os }}-${{ matrix.resolver }}-${{ hashFiles('stack.yaml', '**/*.cabal') }}-${{ hashFiles('internal/**','src/**','app/**','tests/**','benchmarks/**') }} @@ -45,7 +45,7 @@ jobs: stack-work-${{ matrix.os }}-${{ matrix.resolver }}- - name: Cache ~/.stack - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.setup-haskell.outputs.stack-root }} key: stack-root-${{ matrix.os }}-${{ matrix.resolver }}-${{ hashFiles('stack.yaml', '**/*.cabal') }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 340588b8d..2262cf7dc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -32,7 +32,7 @@ jobs: ghc-version: ${{ env.ghc }} - name: Cache dist-newstyle - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: dist-newstyle key: dist-newstyle-${{ env.os }}-${{ env.ghc }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('internal/**','src/**','app/**','tests/**','benchmarks/**') }} @@ -41,7 +41,7 @@ jobs: dist-newstyle-${{ env.os }}-${{ env.ghc }}- - name: Cache ~/.cabal/store - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ steps.setup-haskell.outputs.cabal-store }} key: cabal-store-${{ env.os }}-${{ env.ghc }}-${{ hashFiles('**/*.cabal') }}