From 595e152de442d7af247924ea5e45177a21307671 Mon Sep 17 00:00:00 2001 From: Levi Durfee Date: Thu, 8 Jan 2026 10:58:05 -0500 Subject: Start writing tests --- .github/workflows/gotest.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/gotest.yml (limited to '.github/workflows/gotest.yml') diff --git a/.github/workflows/gotest.yml b/.github/workflows/gotest.yml new file mode 100644 index 0000000..40ca57d --- /dev/null +++ b/.github/workflows/gotest.yml @@ -0,0 +1,27 @@ +name: gotest + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: go.mod + + - name: Install dependencies + run: go mod tidy + + - name: Run tests + run: go test -v ./... -- cgit v1.2.3