agentbbs/.github/workflows/ci.yml
sh1pt-actions-fleet[bot] e75f751252
sh1pt: install Node pnpm CI (node-pnpm-ci@1.1.0) (#6)
* Add .github/workflows/ci.yml via sh1pt node-pnpm-ci@1.1.0

* 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>

---------

Co-authored-by: sh1pt-actions-fleet[bot] <287014002+sh1pt-actions-fleet[bot]@users.noreply.github.com>
Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 02:49:34 -07: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 ./...