Skip to content

Example Code Depot CI #62

Example Code Depot CI

Example Code Depot CI #62

Workflow file for this run

name: Example Code Depot CI
on:
schedule:
- cron: '0 3 * * *'
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Download source
uses: actions/checkout@v3
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install Node Dependencies
run: npm ci
- name: Install dependencies
run: shards install
- name: Run tests
run: crystal spec -t -s
- name: Format Linting
run: crystal tool format --check
- name: Run Ameba
run: bin/ameba