mirror of
https://github.com/profullstack/agentbbs.git
synced 2026-08-13 22:37:28 +00:00
sh1pt: install Node pnpm Test (node-pnpm-test@1.1.0) (#5)
* 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>
This commit is contained in:
parent
e75f751252
commit
84e70668e8
1 changed files with 25 additions and 0 deletions
25
.github/workflows/test.yml
vendored
Normal file
25
.github/workflows/test.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# 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 ./...
|
||||
Loading…
Add table
Add a link
Reference in a new issue