You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pin Go via setup-go go-version-file in the reusable claude/infer workflows #154
The reusable @claude / @infer workflows (.github/workflows/claude.yml, .github/workflows/infer.yml in this repo) run Go tasks on whatever Go the GitHub runner ships - currently go1.27.0 on ubuntu-24.04. Consumer repos pin a different version in go.mod.
Symptom: in inference-gateway/adk (go 1.26.4), the bot ran task format under gofmt 1.27 and committed the result. The repo's own CI (ci.yml) uses actions/setup-go@v7 with go-version-file: 'go.mod' -> gofmt 1.26 -> it reformatted the file back and git diff --exit-code failed. The two gofmt versions disagree on continuation indentation for a multi-value return with composite literals (client/artifact_helper_test.go). Details: inference-gateway/adk#284
This will recur on any Go repo whose go.mod version differs from the runner default.
Fix: when language: go, add a Go setup step before the agent runs:
Activity
fix(bots): make setup-go actually honor go.mod in claude.yml/infer.yml
chore(release): 🔖 0.26.0 [skip ci]
inference-gateway-releaser commentedon Sep 20, 2026
🎉 This issue has been resolved in version 0.26.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀