Skip to content

Lucky Website CI

Lucky Website CI #1589

Workflow file for this run

name: Lucky Website CI
on:
push:
branches: [ main ]
pull_request:
branches: "*"
jobs:
check_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crystal-lang/install-crystal@v1
with:
crystal: latest
- name: Install shards
run: shards install
- name: Format
run: crystal tool format --check
- name: Lint
run: ./bin/ameba
specs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crystal-lang/install-crystal@v1
with:
crystal: latest
- name: Install shards
run: shards install
- name: Setup Lucky
run: script/setup
- name: Run tests
run: crystal spec