Skip to content

Instantly share code, notes, and snippets.

@Daniel-Worrall
Created November 28, 2019 21:56
Show Gist options
  • Save Daniel-Worrall/63603b9e9a91e7a8bf24f00cc9e2143c to your computer and use it in GitHub Desktop.
Save Daniel-Worrall/63603b9e9a91e7a8bf24f00cc9e2143c to your computer and use it in GitHub Desktop.
Crystal CircleCI
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