add github workflow

master
Anton Maminov 2021-08-14 12:30:04 +03:00
parent 9dd4273f2c
commit 24ba8f322a
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:
pull_request:
jobs:
test:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: shards install
- name: Run tests
run: crystal spec