19 lines
334 B
YAML
19 lines
334 B
YAML
name: Crystal CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: crystallang/crystal
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install dependencies
|
|
run: shards install
|
|
- name: Run tests
|
|
run: crystal spec -v
|