This commit is contained in:
Chris Watson 2023-01-27 11:28:05 -07:00 committed by GitHub
parent 97f88f9df8
commit 7c61572bf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
.github/workflows/crystal.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Crystal CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: crystallang/crystal
steps:
- uses: actions/checkout@v3
- name: Check formatting
run: crystal tool format --check
- name: Install dependencies
run: shards install
- name: Run tests
run: crystal spec