gitlab-CI for a Haskell Stack project: How to cache built libraries?
问题 I'm using the following .gitlab-ci.yml file for setting up gitlab-CI for a Haskell Stack project created with stack new actividad3 --resolver=lts-14.6 . image: haskell:8.6.5 cache: paths: - .stack - .stack-work - target test: stage: test script: - ghc --version - stack --system-ghc build - stack test Building and testing the project last almost 5 minutes. Most of the time is spent building the hspec library. Is there any way to cache the used libraries between pipeline runs? Thanks in advance