Skip to content

CI

CI #1296

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: "*"
schedule:
- cron: '0 0 * * *'
jobs:
qa:
runs-on: ubuntu-latest
container:
image: crystallang/crystal:1.9.2
steps:
- uses: actions/checkout@v1
- name: Install shards
run: shards install --ignore-crystal-version
- name: QA checks
run: make qa
specs:
strategy:
fail-fast: false
matrix:
crystal:
- latest
- nightly
- 1.11.2
- 1.12.2
- 1.13.0
runs-on: ubuntu-latest
container:
image: crystallang/crystal:${{ matrix.crystal }}
steps:
- uses: actions/checkout@v2
- name: Install shards
run: shards install --ignore-crystal-version
- name: Cache Crystal
uses: actions/cache@v1
with:
path: ~/.cache/crystal
key: ${{ runner.os }}-crystal
- name: Run tests
run: make tests