Merge pull request #2 from mamantoha/github-workflow
add github workflow
This commit is contained in:
commit
79b3984b6d
20
.github/workflows/crystal.yml
vendored
Normal file
20
.github/workflows/crystal.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user