From e81f1367ae11b2cf9df523d44555f7ab36296792 Mon Sep 17 00:00:00 2001 From: Margret Riegert Date: Wed, 19 Jul 2023 06:23:31 -0400 Subject: [PATCH] Create crystal.yml --- .github/workflows/crystal.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/crystal.yml diff --git a/.github/workflows/crystal.yml b/.github/workflows/crystal.yml new file mode 100644 index 0000000..41a059d --- /dev/null +++ b/.github/workflows/crystal.yml @@ -0,0 +1,22 @@ +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: Install dependencies + run: shards install + - name: Run tests + run: crystal spec