Bump actions/checkout from 3 to 4 #192
Workflow file for this run
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: | |
pull_request: | |
schedule: | |
- cron: "0 3 * * 1" # Every monday at 3 AM | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
crystal: [latest, nightly] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Crystal | |
uses: crystal-lang/install-crystal@v1 | |
with: | |
crystal: ${{ matrix.crystal }} | |
- name: Download source | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: shards install | |
- name: Run specs | |
run: crystal spec | |
- name: Run specs (no-debug) | |
run: crystal spec --no-debug | |
- name: Run specs (release) | |
run: crystal spec --release | |
- name: Run specs (release, no-debug) | |
run: crystal spec --release --no-debug | |
- name: Build crash handler | |
run: shards build crash_handler | |
- name: Build crash handler (release) | |
run: shards build crash_handler --release | |
- name: Check formatting | |
run: crystal tool format --check | |
- name: Run ameba linter | |
run: bin/ameba |