Update crystal.yml

This commit is contained in:
Chris Watson 2019-09-10 19:09:16 -07:00 committed by GitHub
parent 1e0d809535
commit 0e2fb0cb62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
.github/workflows/crystal.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Crystal CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container:
image: crystallang/crystal
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: shards install
- name: Check formatting
run: crystal tool format --check
- name: Run tests
run: crystal spec