Github workflow: cron + remove shards build
This commit is contained in:
parent
a5a5d9de03
commit
3fa87a9481
8
.github/workflows/crystal.yml
vendored
8
.github/workflows/crystal.yml
vendored
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user