diff --git a/.github/workflows/presubmit-cabal.yaml b/.github/workflows/presubmit-cabal.yaml index 5a2175a..480c3ef 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@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: dist-newstyle key: dist-newstyle-${{ matrix.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('simple-echo-example/*') }} @@ -40,7 +40,7 @@ jobs: dist-newstyle-${{ matrix.os }}-${{ matrix.ghc }}- - name: Cache ~/.cabal/store - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.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 650d43b..66bb27c 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@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: .stack-work key: stack-work-${{ matrix.os }}-${{ matrix.resolver }}-${{ hashFiles('stack.yaml', '**/*.cabal') }}-${{ hashFiles('simple-echo-example/*') }} @@ -45,7 +45,7 @@ jobs: stack-work-${{ matrix.os }}-${{ matrix.resolver }}- - name: Cache ~/.stack - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.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 1773fe5..db671d9 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@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: dist-newstyle key: dist-newstyle-${{ env.os }}-${{ env.ghc }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('simple-echo-example/*') }} @@ -41,7 +41,7 @@ jobs: dist-newstyle-${{ env.os }}-${{ env.ghc }}- - name: Cache ~/.cabal/store - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: ${{ steps.setup-haskell.outputs.cabal-store }} key: cabal-store-${{ env.os }}-${{ env.ghc }}-${{ hashFiles('**/*.cabal') }}