Skip to content

Ensure project uses Crystal 1.12 #59

Ensure project uses Crystal 1.12

Ensure project uses Crystal 1.12 #59

Workflow file for this run

name: Specs
on:
push:
branches: [ main ]
pull_request:
branches: "*"
jobs:
specs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
container:
image: crystallang/crystal:1.12.0
steps:
- uses: actions/checkout@v2
- name: Install required packages
run: |
apt-get update
apt-get -yqq install libsqlite3-dev cmake build-essential
- name: Install shards
run: |
git config --global --add safe.directory /__w/realworld/realworld
git config --global --add safe.directory /__w/realworld/realworld/shard_overrides/marten
git submodule init
git submodule update --remote --recursive
shards install --ignore-crystal-version
- name: Run tests
run: crystal spec --error-trace