From b33b61e4d64a7c5e5487cab0cd821911294fa676 Mon Sep 17 00:00:00 2001 From: Daniel Matichuk Date: Mon, 17 Jun 2024 10:52:54 -0700 Subject: [PATCH] add .cabal to haskell setup cache --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3260b77..b2426812 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -101,7 +101,9 @@ jobs: name: Restore GHCup id: cache-ghcup with: - path: ~/.ghcup + path: | + ~/.ghcup + ~/.cabal key: ${{ env.CACHE_VERSION }}-pate-ghcup-${{ runner.os }}-${{ matrix.ghc }} - uses: haskell-actions/setup@v2 @@ -114,7 +116,9 @@ jobs: - uses: actions/cache/save@v4 name: Save GHCup with: - path: ~/.ghcup + path: | + ~/.ghcup + ~/.cabal key: ${{ steps.cache-ghcup.outputs.cache-primary-key }} - name: System Dependencies