mirror of
https://github.com/profullstack/agentbbs.git
synced 2026-08-13 14:27:27 +00:00
* Add .github/workflows/test.yml via sh1pt node-pnpm-test@1.1.0 * Convert test workflow to Go (go test ./...) 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 test ./... and trigger on main (was master-only). Build/vet live in ci.yml. 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>
25 lines
496 B
YAML
25 lines
496 B
YAML
# Go tests for agentbbs. agentbbs is a Go project (see go.mod); this runs the
|
|
# package tests on pull requests and pushes to main. Build/vet live in ci.yml.
|
|
name: test
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main, master]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
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 test ./...
|