Skip to content

Specs

Specs #209

Workflow file for this run

name: Specs
on:
push:
branches: "*"
pull_request:
branches: "*"
schedule:
- cron: '0 0 * * *'
jobs:
specs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
crystal: [
'1.11.2',
'1.12.2',
'1.13.2',
'nightly',
]
container:
image: crystallang/crystal:${{ matrix.crystal }}
steps:
- uses: actions/checkout@v3
- name: Install required packages
run: |
apt-get update
apt-get -yqq install libsqlite3-dev
- 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 specs
run: crystal spec