File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -17,21 +17,15 @@ jobs:
1717 steps :
1818 - checkout
1919 - restore_cache :
20- key : ' v1 -stylish-haskell-{{ arch }}-{{ .Branch }}'
20+ key : ' v2 -stylish-haskell-{{ arch }}-{{ .Branch }}'
2121 - run :
22- name : ' Update cabal indices'
23- command : ' cabal update'
24- - run :
25- name : ' Build and install'
26- command : ' cabal install --enable-tests --jobs=1'
27- - run :
28- name : ' Run tests'
29- command : ' cabal test'
22+ name : ' Build, install and test'
23+ command : ' stack build --test --copy-bins --jobs=1'
3024 - save_cache :
31- key : ' v1 -stylish-haskell-{{ arch }}-{{ .Branch }}-{{ .Revision }}'
25+ key : ' v2 -stylish-haskell-{{ arch }}-{{ .Branch }}-{{ .Revision }}'
3226 paths :
33- - ' ~/.cabal '
34- - ' ~/.ghc '
27+ - ' ~/.stack-work '
28+ - ' ~/.stack '
3529 - run :
3630 name : ' Upload release'
3731 command : ' .circleci/release.sh "$CIRCLE_TAG"'
You can’t perform that action at this time.
0 commit comments