summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2019-10-28 20:59:05 +0100
committerGitHub <noreply@github.com>2019-10-28 20:59:05 +0100
commitc0b1fd9e632b2ce277fcdfc339d1f004016c91bb (patch)
tree7d4c7e4f4129d1e2d8d4103a8a830b6c46024cf1
parent48f1ac6da51d0e8b53d38f2c57083176edaf5d5e (diff)
downloadstylish-haskell-c0b1fd9e632b2ce277fcdfc339d1f004016c91bb.tar.gz
Bump CircleCI configuration
-rw-r--r--.circleci/config.yml13
1 files changed, 4 insertions, 9 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 907039d..e1e9020 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -12,22 +12,17 @@ workflows:
jobs:
build:
docker:
- - image: 'fpco/stack-build:latest'
+ - image: 'haskell:8.6'
steps:
- # 'checkout' command is currently broken because the Docker image stopped
- # providing 'ssh'. We do a manual checkout instead.
- # - checkout
- - run:
- name: 'Checkout'
- command: 'git clone https://github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME.git .'
+ - checkout
- restore_cache:
- key: 'v2-stylish-haskell-{{ arch }}-{{ .Branch }}'
+ key: 'v3-stylish-haskell-{{ arch }}-{{ .Branch }}'
- run:
name: 'Build, install and test'
command: 'stack build --test --copy-bins --jobs=1'
- save_cache:
- key: 'v2-stylish-haskell-{{ arch }}-{{ .Branch }}-{{ .Revision }}'
+ key: 'v3-stylish-haskell-{{ arch }}-{{ .Branch }}-{{ .Revision }}'
paths:
- '~/.stack-work'
- '~/.stack'