Skip to content

Commit

Permalink
chore(CI): add cron and additional crystal versions
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed May 25, 2021
1 parent 3de923b commit 9e55ba0
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
name: CI
on: [push, pull_request, workflow_dispatch]
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "0 6 * * 1"
jobs:
build:
runs-on: ubuntu-latest
container:
image: crystallang/crystal
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
crystal:
- latest
- nightly
- 1.0.0
runs-on: ${{ matrix.os }}
container: crystallang/crystal:${{ matrix.crystal }}-alpine
steps:
- uses: actions/checkout@v2
- name: Install dependencies
Expand All @@ -14,4 +26,4 @@ jobs:
- name: Format
run: crystal tool format --check
- name: Run tests
run: crystal spec --error-trace
run: crystal spec -v --error-trace

0 comments on commit 9e55ba0

Please sign in to comment.