From 8a7a82df8e8cd8e646f926292f5066513dc84513 Mon Sep 17 00:00:00 2001 From: Marcus Kok Date: Fri, 8 Mar 2024 19:40:30 -0500 Subject: [PATCH] add ci workflow --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..44a1c2f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: CI +on: + pull_request: + branches: + - main + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v4 + with: + go-version: '1.22.x' + - name: Install dependencies + run: go get. + - name: Test with Go CLI + run: go test ./test