CI #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: main | |
pull_request: | |
schedule: | |
- cron: '0 10 * * Sat' | |
permissions: | |
contents: read | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Crystal | |
uses: oprypin/install-crystal@v1 | |
with: | |
crystal: latest | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: shards install | |
- name: Run linter | |
run: make lint | |
- name: Build extension | |
run: make extension | |
- name: Build example | |
run: make check | |
- name: Run specs | |
run: make specs |