Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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