From 3394b50bc40ca75c7e30d491cf0a2ac5a292093f Mon Sep 17 00:00:00 2001 From: Associate 1 Date: Thu, 19 Feb 2026 09:54:45 -0700 Subject: [PATCH] Add GitHub Actions CI workflow Run build and tests on PRs targeting main and on pushes to main. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..c257ca1 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-go@v5 + with: + go-version: "1.25.x" + + - name: Build + run: go build -o occam2go . + + - name: Test + run: go test ./...