agentbbs/.github/workflows/ci.yml
Anthony Ettinger 46970dd6d2 ci: setup-go from go.mod so CI builds with the pinned 1.26.10
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 12:49:41 +00:00

32 lines
647 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@v7
- uses: actions/setup-go@v7
with:
go-version-file: go.mod
cache: true
- run: go build ./...
- run: go vet ./...