Merge pull request #2 from mamantoha/github-workflow

add github workflow
This commit is contained in:
Kanezoh 2021-08-15 14:20:59 +09:00 committed by GitHub
commit 79b3984b6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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