Add test to CI/CD & sanitize file

This commit is contained in:
Glenn Y. Rolland 2021-01-03 06:15:23 +01:00
parent f425019347
commit e3f14678e7

View file

@ -1,10 +1,11 @@
---
name: Build
on:
"on":
push:
branches: [ master ]
branches: ["master"]
pull_request:
branches: [ master ]
branches: ["master"]
jobs:
build:
@ -14,10 +15,13 @@ jobs:
image: crystallang/crystal
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: shards install
- name: Run build
run: make build
#- name: Run tests
# run: crystal spec
- uses: actions/checkout@v2
- name: Install dependencies
run: shards install
- name: Run tests
run: make test
- name: Run build
run: make build