2019-09-11 02:18:18 +00:00
|
|
|
name: Specs
|
2019-09-11 02:09:16 +00:00
|
|
|
|
|
|
|
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
|