From ad5c0a887fecf5e04c6b4c933bd462d2d6238787 Mon Sep 17 00:00:00 2001 From: mniip Date: Wed, 20 Dec 2023 18:15:04 +0100 Subject: [PATCH] Add CI cache --- .github/workflows/ci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bac98a6..86ef918 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,9 +32,15 @@ jobs: steps: - uses: actions/checkout@v3 - uses: haskell/actions/setup@v2 + id: setup-haskell with: ghc-version: ${{ matrix.ghc_version }} cabal-version: "3.10.1.0" + - name: Cache + uses: actions/cache@v3 + with: + path: ${{ steps.setup-haskell.outputs.cabal-store }} + key: ${{ runner.os }}-stack-${{ matrix.ghc_version }} - name: cabal configure run: cabal configure --with-ghc=ghc-${{ matrix.ghc_version }} - name: Install dependencies