Skip to content

Merge pull request #49 from webmatze/feat/mentions #48

Merge pull request #49 from webmatze/feat/mentions

Merge pull request #49 from webmatze/feat/mentions #48

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
test:
name: spec & format (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: latest
- name: Install dependencies
run: shards install
- name: Check formatting
run: crystal tool format --check
- name: Run specs
run: crystal spec
- name: Build binary
run: mkdir -p bin && crystal build src/smith.cr -o bin/smith