Skip to content

CI

CI #1164

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.9.2
- 1.10.0
- 1.11.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