Skip to content

Commit

Permalink
Create specs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
treagod authored Mar 20, 2024
1 parent 2be65ce commit 122d2d8
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/specs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Crystal CI

on:
push:
branches: "*"
pull_request:
branches: "*"
schedule:
- cron: '0 0 * * *'

jobs:
specs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
crystal: [
'1.9.2',
'1.10.0',
'1.11.0',
'nightly',
]
container:
image: crystallang/crystal:${{ matrix.crystal }}
steps:
- uses: actions/checkout@v3
- name: Install required packages
run: |
apt-get update
apt-get -yqq install libsqlite3-dev
- name: Install shards
run: shards install --ignore-crystal-version
- name: Cache Crystal
uses: actions/cache@v1
with:
path: ~/.cache/crystal
key: ${{ runner.os }}-crystal
- name: Run specs
run: crystal spec

0 comments on commit 122d2d8

Please sign in to comment.