Skip to content

build

build #30

Workflow file for this run

name: build
on:
push:
pull_request:
schedule:
- cron: '20 16 * * 0'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Download source
uses: actions/checkout@v2
- name: Crystal Ameba Linter
uses: crystal-ameba/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Crystal
uses: oprypin/install-crystal@v1
- name: Check formatting
run: crystal tool format --check
- name: Install shards
run: shards install
- name: Run tests
run: crystal spec