crypto-secret.cr/.github/workflows/crystal.yml
2021-06-12 19:57:37 -07:00

28 lines
504 B
YAML

name: Crystal CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: crystallang/crystal
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: shards install
- name: Run tests
run: crystal spec -Dpreview_mt --order random --error-on-warnings
- name: Run bulid
run: shards build -Dpreview_mt
- name: Run format
run: crystal tool format --check