Skip to content

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

ci(release): install go 1.26 toolchain for printing-press build

Matt Van Horn3e78f4543858
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e725b2fc..920aebe2 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -75,7 +75,12 @@ jobs:
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
- go-version-file: mcp/go.mod
+ # printing-press v4.8.0 declares `go >= 1.26.3`, newer than the
+ # engine's own floor in mcp/go.mod. Install a 1.26.x toolchain so the
+ # PP `go install` below is satisfied without a runtime toolchain
+ # download (which GOSUMDB=off would block). Building the MCP binary
+ # with a newer toolchain than mcp/go.mod declares is backward-safe.
+ go-version: "1.26"
cache: false
- name: Install printing-press
@@ -87,12 +92,6 @@ jobs:
env:
GOPRIVATE: github.com/mvanhorn/*
GOSUMDB: "off"
- # printing-press v4.8.0 declares `go >= 1.26.3`, newer than the
- # engine's pinned toolchain (mcp/go.mod). setup-go exports
- # GOTOOLCHAIN=local, which would fail this install; override to auto
- # for this step only so go fetches the toolchain PP needs. The MCP
- # binary itself still builds on the pinned toolchain below.
- GOTOOLCHAIN: auto
run: go install github.com/mvanhorn/cli-printing-press/v4/cmd/[email protected]
- name: Sync engine into vendored/