From abcb97320889371ad5817b95b975d32dfbd18590 Mon Sep 17 00:00:00 2001 From: Jason Ross Date: Tue, 26 May 2026 13:53:09 -0500 Subject: [PATCH] add unit tests to ci --- .github/workflows/unit-tests.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/unit-tests.yml diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml new file mode 100644 index 0000000..4decd54 --- /dev/null +++ b/.github/workflows/unit-tests.yml @@ -0,0 +1,27 @@ +name: Unit Tests + +on: + pull_request: + branches: + - main + - dev + +jobs: + unit-test: + name: Unit Tests + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: '1.25.x' + + - name: Run Unit Tests + run: go test ./... + + - name: Vet + run: go vet ./...