From 973e0b12c83785ba9a8a5644338e6c64fdf51712 Mon Sep 17 00:00:00 2001
From: Kevin Brown
Date: Sun, 16 Aug 2026 21:46:39 -0600
Subject: [PATCH] Add CI and a status badge
Build, vet, and test on windows-latest for every push and PR against
main, since the background-worker tooling this repo builds against is
Windows-specific. Link the badge in the README so it isn't decoration
without a workflow behind it.
---
.github/workflows/ci.yml | 19 +++++++++++++++++++
README.md | 1 +
2 files changed, 20 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..14d7bc5
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,19 @@
+name: CI
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+ branches: [main]
+
+jobs:
+ build:
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-go@v5
+ with:
+ go-version-file: go.mod
+ - run: go build ./...
+ - run: go vet ./...
+ - run: go test ./...
diff --git a/README.md b/README.md
index 352e895..903c7af 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,7 @@