Files
starter-workflows/ci/crystal.yml
Christopher Schleiden abf7f258d1 Use $default-branch token
2020-07-13 12:12:41 -07:00

23 lines
356 B
YAML

name: Crystal CI
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
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