diff --git a/.github/workflows/presubmit-cabal.yaml b/.github/workflows/presubmit-cabal.yaml index 412c1a0..cda77f9 100644 --- a/.github/workflows/presubmit-cabal.yaml +++ b/.github/workflows/presubmit-cabal.yaml @@ -31,7 +31,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('src*') }} @@ -40,7 +40,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 009384c..e8423f1 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('src*') }} @@ -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 f411abd..aa20da5 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('src*') }} @@ -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') }}