From 69699261286673a0131271ed376b237028641e2e Mon Sep 17 00:00:00 2001 From: Jackie Weng Date: Fri, 13 Jun 2025 10:32:17 +1200 Subject: [PATCH] ci: added workflow to run tests --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..44f4f2a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: CI + +on: + pull_request: + branches: + - master + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + - name: Setup Crystal lang + run: | + sudo apt-get update + sudo apt-get install crystal + + - name: Test + run: | + git config --global user.email "test@test.com" + git config --global user.name "test" + make test