From 40fa6b0fda96c5a64628b7848217825b6bf34a11 Mon Sep 17 00:00:00 2001 From: "sh1pt-actions-fleet[bot]" <287014002+sh1pt-actions-fleet[bot]@users.noreply.github.com> Date: Sun, 14 Jun 2026 09:42:22 +0000 Subject: [PATCH 1/2] Add .github/workflows/test.yml via sh1pt node-pnpm-test@1.1.0 --- .github/workflows/test.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..351313e --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,36 @@ +# Managed by sh1pt Actions Fleet +# pack: node-pnpm-test@1.1.0 +# install: sh1pt-actions-store +# hash: sha256:d753421a4244bd39c13dd7444a29709ac978395b34c359adf0be2bfec9e48268 +name: test + +on: + pull_request: + push: + branches: [master] + +permissions: + contents: read + +jobs: + test: + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - uses: actions/checkout@v4 + + # pnpm version is read from the "packageManager" field in package.json. + # Do not pin a version here — it conflicts with packageManager and fails + # with ERR_PNPM_BAD_PM_VERSION. + - uses: pnpm/action-setup@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: pnpm + + - run: pnpm install --frozen-lockfile + + - run: pnpm test + env: + CI: true From a801f60f3237b259468e20b2fa2b5d53c33cace2 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Sun, 14 Jun 2026 09:47:32 +0000 Subject: [PATCH 2/2] Convert test workflow to Go (go test ./...) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/test.yml | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 351313e..afd0ad4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,13 +1,11 @@ -# Managed by sh1pt Actions Fleet -# pack: node-pnpm-test@1.1.0 -# install: sh1pt-actions-store -# hash: sha256:d753421a4244bd39c13dd7444a29709ac978395b34c359adf0be2bfec9e48268 +# 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: [master] + branches: [main, master] permissions: contents: read @@ -19,18 +17,9 @@ jobs: steps: - uses: actions/checkout@v4 - # pnpm version is read from the "packageManager" field in package.json. - # Do not pin a version here — it conflicts with packageManager and fails - # with ERR_PNPM_BAD_PM_VERSION. - - uses: pnpm/action-setup@v4 - - - uses: actions/setup-node@v4 + - uses: actions/setup-go@v5 with: - node-version: 22 - cache: pnpm - - - run: pnpm install --frozen-lockfile + go-version: '1.26' + cache: true - - run: pnpm test - env: - CI: true + - run: go test ./...