diff options
-rw-r--r-- | .circleci/config.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 19a4f3f..30ea577 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml | |||
@@ -6,26 +6,26 @@ jobs: | |||
6 | steps: | 6 | steps: |
7 | - checkout | 7 | - checkout |
8 | - restore_cache: | 8 | - restore_cache: |
9 | key: stack-deps-bar-{{ checksum "stack.yaml" }} | 9 | key: stack-deps-urk-{{ checksum "stack.yaml" }} |
10 | - run: | 10 | - run: |
11 | name: Update packages | 11 | name: Update packages |
12 | command: nix-channel --update | 12 | command: nix-channel --update |
13 | - run: | 13 | - run: |
14 | name: Setup build toolchain | 14 | name: Setup build toolchain |
15 | command: stack setup | 15 | command: nix-shell --run "stack setup" |
16 | - run: | 16 | - run: |
17 | name: Building dependencies | 17 | name: Building dependencies |
18 | command: stack test --only-snapshot --prefetch | 18 | command: nix-shell --run "stack test --only-snapshot --prefetch" |
19 | - save_cache: | 19 | - save_cache: |
20 | paths: | 20 | paths: |
21 | - "~/.stack" | 21 | - "~/.stack" |
22 | key: stack-deps-bar-{{ checksum "stack.yaml" }} | 22 | key: stack-deps-urk-{{ checksum "stack.yaml" }} |
23 | - run: | 23 | - run: |
24 | name: Building | 24 | name: Building |
25 | command: stack build --pedantic | 25 | command: nix-shell --run "stack build --pedantic" |
26 | - run: | 26 | - run: |
27 | name: Building tests | 27 | name: Building tests |
28 | command: stack test --pedantic --no-run-tests | 28 | command: nix-shell --run "stack test --pedantic --no-run-tests" |
29 | - run: | 29 | - run: |
30 | name: Running tests | 30 | name: Running tests |
31 | command: stack test | 31 | command: nix-shell --run "stack test" |