summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorLevi Durfee <levi.durfee@gmail.com>2026-01-08 10:58:05 -0500
committerLevi Durfee <levi.durfee@gmail.com>2026-01-08 11:13:50 -0500
commit595e152de442d7af247924ea5e45177a21307671 (patch)
tree51791e66c024a2dc442a6bd2a8979351480e89f8 /.github
parentc4c26a1b1348dc8d3a0a6ecce3a031d212edf6b1 (diff)
Start writing tests
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/gotest.yml27
1 files changed, 27 insertions, 0 deletions
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 ./...