From 42b7d91eb6cef11e8a6576dc39d73c3cc7e2d6b6 Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Fri, 9 Feb 2024 10:37:23 +1100 Subject: [PATCH] Add CI workflow (#3) --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..bc25cc0 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: CI + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + nim: [1.6.16, stable] + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Install Nim + uses: iffy/install-nim@v3 + with: + version: ${{ matrix.nim }} + - name: Build + run: nimble install -y + - name: Test + run: nimble test -y