@@ -6,20 +6,14 @@ jobs:
66 steps:
77 - checkout
88 - restore_cache:
9− key: 'v2-hakyll-{{ arch }}-{{ .Branch }}'
10− - run:
11− name: 'Update cabal indices'
12− command: 'cabal update'
9+ key: 'v3-hakyll-{{ arch }}-{{ .Branch }}'
1310 - run:
1411 # We set jobs to 1 here because that prevents Out-Of-Memory exceptions
1512 # while compiling dependencies.
1613 name: 'Install dependencies'
17− command: '.circleci/tickle.sh cabal install --only-dependencies --enable-tests --jobs=1 --flags="+buildWebsite"'
18− - run:
19− name: 'Build and run tests'
20− command: 'cabal test'
14+ command: '.circleci/tickle.sh stack build --test --copy-bins --jobs=1'
2115 - save_cache:
22− key: 'v2-hakyll-{{ arch }}-{{ .Branch }}-{{ .Revision }}'
16+ key: 'v3-hakyll-{{ arch }}-{{ .Branch }}-{{ .Revision }}'
2317 paths:
24− - '~/.cabal'
25− - '~/.ghc'
18+ - '~/.stack-work'
19+ - '~/.stack'