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