mirror of
https://github.com/typeable/rollbar-hs.git
synced 2024-09-11 05:35:27 +03:00
Use the cache to circumvent building
Since we use `stack` to run `hpack` to generate the cabal file, we need `stack` to have its cache all setup properly. We could eschew `hpack` to relax this requirement...
This commit is contained in:
parent
d5b10959b1
commit
73e6221fb6
@ -5,6 +5,12 @@ jobs:
|
|||||||
- image: haskell:8.2.2
|
- image: haskell:8.2.2
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- restore_cache:
|
||||||
|
keys:
|
||||||
|
- v1-stack-{{ checksum "package.yaml" }}-{{ checksum "stack.yaml" }}
|
||||||
|
- v1-stack-{{ checksum "package.yaml" }}-
|
||||||
|
- v1-stack-
|
||||||
|
name: Restoring stack cache
|
||||||
- run:
|
- run:
|
||||||
name: Build sdist
|
name: Build sdist
|
||||||
command: make sdist
|
command: make sdist
|
||||||
|
Loading…
Reference in New Issue
Block a user