crypto-secret.cr/.github/workflows/crystal.yml

32 lines
576 B
YAML
Raw Normal View History

2021-06-13 02:43:35 +02:00
name: Crystal CI
on:
push:
branches: [ main ]
paths-ignore:
- "*.md"
2021-06-13 02:43:35 +02:00
pull_request:
branches: [ main ]
schedule:
- cron: "32 2 * * 2"
2021-06-13 02:43:35 +02:00
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
2021-06-13 02:43:35 +02:00
- name: Run format
run: crystal tool format --check