From 86b7248f088e2bb6fff9516eb71b6531c6333def Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Fri, 10 Nov 2023 05:00:01 +0700 Subject: [PATCH] Adding test workflow --- .github/workflows/test.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..13f5f00 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,15 @@ +on: [push, pull_request] +name: Test +jobs: + test: + name: Build + runs-on: ubuntu-latest + steps: + - name: Install Go + uses: actions/setup-go@v4 + with: + go-version: stable + - name: Checkout code + uses: actions/checkout@v3 + - name: Unit Tests + run: go build ./...