shard-radix/.github/workflows/ci.yml
Luis Lavena 9a1b56c020 Use GitHub Actions for CI
Runs against Ubunut/macOS for latest version and introduce weekly on
schedule to run it against nightly versions.
2021-01-30 20:59:59 -03:00

26 lines
517 B
YAML

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- {os: ubuntu-latest, crystal: latest}
- {os: macos-latest, crystal: latest}
runs-on: ${{matrix.os}}
steps:
- uses: oprypin/install-crystal@v1
with:
crystal: ${{matrix.crystal}}
- uses: actions/checkout@v2
- run: crystal spec
- run: crystal tool format --check src spec