Created
November 28, 2019 21:56
-
-
Save Daniel-Worrall/63603b9e9a91e7a8bf24f00cc9e2143c to your computer and use it in GitHub Desktop.
Crystal CircleCI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
build: | |
working_directory: ~/<%= config.name %> | |
docker: | |
- image: crystallang/crystal:latest | |
steps: | |
- checkout | |
- restore_cache: | |
key: dependency-cache-{{ checksum "shard.lock" }} | |
- run: shards install | |
- save_cache: | |
key: dependency-cache-{{ checksum "shard.lock" }} | |
paths: | |
- ./lib | |
- run: crystal spec | |
- run: crystal tool format --check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment