Github workflow: cron + remove shards build

This commit is contained in:
Didactic Drunk 2022-05-11 22:47:55 -07:00
parent a5a5d9de03
commit 3fa87a9481

View File

@ -3,8 +3,12 @@ name: Crystal CI
on: on:
push: push:
branches: [ main ] branches: [ main ]
paths-ignore:
- "*.md"
pull_request: pull_request:
branches: [ main ] branches: [ main ]
schedule:
- cron: "32 2 * * 2"
jobs: jobs:
build: build:
@ -20,8 +24,8 @@ jobs:
run: shards install run: shards install
- name: Run tests - name: Run tests
run: crystal spec -Dpreview_mt --order random --error-on-warnings run: crystal spec -Dpreview_mt --order random --error-on-warnings
- name: Run bulid # - name: Run bulid
run: shards build -Dpreview_mt # run: shards build -Dpreview_mt
- name: Run format - name: Run format
run: crystal tool format --check run: crystal tool format --check