From dc12b9917915e11a3ca9553be47821c57f619402 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:32 +0000 Subject: [PATCH 1/2] Add .github/workflows/ci.yml via sh1pt node-pnpm-ci@1.1.0 --- .github/workflows/ci.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..210fb2f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,40 @@ +# Managed by sh1pt Actions Fleet +# pack: node-pnpm-ci@1.1.0 +# install: sh1pt-actions-store +# hash: sha256:8e71a56cc0f13b1fdeaf4efe58c3008efcbb8b52b4194cbe9dd5b52a4c023d50 +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 + + # 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 typecheck + + - run: pnpm test From 76398a9e4ba00d33a5c506f197647b2a4ce76e7d Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Sun, 14 Jun 2026 09:46:45 +0000 Subject: [PATCH 2/2] Convert CI workflow to Go (build + vet) 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 build + go vet. Companion test.yml runs go test. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ci.yml | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 210fb2f..5c0215e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,6 @@ -# Managed by sh1pt Actions Fleet -# pack: node-pnpm-ci@1.1.0 -# install: sh1pt-actions-store -# hash: sha256:8e71a56cc0f13b1fdeaf4efe58c3008efcbb8b52b4194cbe9dd5b52a4c023d50 +# 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: @@ -23,18 +22,11 @@ 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 typecheck + - run: go build ./... - - run: pnpm test + - run: go vet ./...