Update crystal.yml
This commit is contained in:
parent
1e0d809535
commit
0e2fb0cb62
|
@ -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
|
Loading…
Reference in New Issue