Skip to content

Crystal CI

Crystal CI #63

Workflow file for this run

name: Crystal CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: "0 23 * * 6"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- name: Install dependencies
run: shards install
- name: Run general tests
run: crystal spec spec/json spec/mass_spec
- name: Run test for Amber
run: crystal spec spec/frameworks/amber_spec.cr
- name: Run test for Kemal
run: crystal spec spec/frameworks/kemal_spec.cr
- name: Check formatting
run: crystal tool format --check
- name: Lint
run: bin/ameba