agentbbs/.github/workflows/ci.yml
Anthony Ettinger 76398a9e4b Convert CI workflow to Go (build + vet)
agentbbs is a Go project (go.mod, go 1.26); the Node/pnpm workflow could
never pass here — pnpm/action-setup found no packageManager. Replace with
go build + go vet. Companion test.yml runs go test.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 09:46:45 +00:00

32 lines
642 B
YAML

# Go CI for agentbbs. agentbbs is a Go project (see go.mod), so this builds and
# vets every package on pushes to main and on pull requests. The companion
# test.yml runs `go test`.
name: CI
on:
push:
branches: [main, master]
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.26'
cache: true
- run: go build ./...
- run: go vet ./...