I'm attempting to use CircleCI to build some Haskell projects. Circle automatically caches the
/home/ubuntu/.cabal directory after each build and I thought that would speed up the builds, but they seem to take just as long as before---all that's skipped is the download step.
The build instructions I'm using are
cabal update cabal install --only-dependencies --enable-tests cabal configure --enable-tests cabal build cabal test
and I anticipated that
install --only-dependencies step would see the cache and run more quickly.
What might be going wrong?