Skip to content

Commit

Permalink
Create ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GabriOliv authored Nov 20, 2024
1 parent 8f1bd65 commit 19f529f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:
types: [opened, synchronize, reopened]
branches: [ "main" ]
release:
types: [published]
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

container:
image: crystallang/crystal

steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: shards install
- name: Run tests
run: crystal spec

0 comments on commit 19f529f

Please sign in to comment.