Title: CI: goreleaser workflow fails in setup on the next tag push — go-version-file points at go.work, deleted in Feb 2024 · Issue #344 · developing-today/code · GitHub
Open Graph Title: CI: goreleaser workflow fails in setup on the next tag push — go-version-file points at go.work, deleted in Feb 2024 · Issue #344 · developing-today/code
X Title: CI: goreleaser workflow fails in setup on the next tag push — go-version-file points at go.work, deleted in Feb 2024 · Issue #344 · developing-today/code
Description: Problem The goreleaser workflow (.github/workflows/goreleaser.yml, triggered on every tag push on.push.tags: ['*']) cannot get past its Set up Go step on current main: it asks actions/setup-go to read a Go version file that no longer exi...
Open Graph Description: Problem The goreleaser workflow (.github/workflows/goreleaser.yml, triggered on every tag push on.push.tags: ['*']) cannot get past its Set up Go step on current main: it asks actions/setup-go to r...
X Description: Problem The goreleaser workflow (.github/workflows/goreleaser.yml, triggered on every tag push on.push.tags: ['*']) cannot get past its Set up Go step on current main: it asks actions/setup...
Opengraph URL: https://github.com/developing-today/code/issues/344
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CI: goreleaser workflow fails in setup on the next tag push — go-version-file points at go.work, deleted in Feb 2024","articleBody":"## Problem\n\nThe `goreleaser` workflow (`.github/workflows/goreleaser.yml`, triggered on every tag push `on.push.tags: ['*']`) cannot get past its **Set up Go** step on current `main`: it asks `actions/setup-go` to read a Go version file that no longer exists in the repo.\n\n## Evidence (verified on `origin/main` ff21d17d)\n\n- `.github/workflows/goreleaser.yml:62-67` — the only job that builds a release uses `actions/setup-go@v4` with:\n - `go-version-file: \"${{ matrix.working-directory }}/go.work\"` — the matrix's only entry is `{ working-directory: \".\" }` (line 43), so this is `./go.work`\n - `cache-dependency-path: \"${{ matrix.working-directory }}/go.work.sum\"` — i.e. `./go.work.sum`\n- Neither file exists on `main`: `git ls-tree -r origin/main --name-only | grep go.work` returns only `lib/go.work.template` (a template for a different layout — it references `./code/sources/...` and `./charm` — not a usable root `go.work`).\n- History: `go.work` was added 2023-11-06 (c8fe4ea1) and **deleted 2024-02-06 in 8ec08d0e (\"integrate charm\")**. The last GitHub release is v1.2.7 (2023-11-15), i.e. before the deletion — so this has never fired since the file went away, and the break is dormant only because no tag has been pushed since.\n- `actions/setup-go` fails the step when the `go-version-file` path does not exist (\"The specified go version file at: go.work does not exist\"), so the next tag push fails in setup, before GoReleaser ever runs — the same shape as the Jules `jules-action@v1` setup failures (#258).\n- Contrast: every other workflow in this repo points `go-version-file` at a file that exists — `pkgs/graph/go.mod` (mod-tidy.yml:32), `pkgs/map/go.mod`, `pkgs/identity/go.mod`, `pkgs/mcpx/go.mod`, `pkgs/\u003cmodule>/go.mod` (go-modules-build.yml:65).\n- Secondary staleness in the same file: it pins `actions/checkout@v4`, `actions/setup-go@v4` and `goreleaser/goreleaser-action@v5`, while the rest of the repo's workflows use `actions/checkout@v7` / `actions/setup-go@v7`.\n\n## Why it matters\n\nTag pushes are rare and deliberate — they are release events. Discovering at release time that the release workflow has been broken since February 2024 means either a scrambled fix under time pressure or a silently skipped release. Dormant workflows that cannot run are worse than no workflow: they look like a release path exists.\n\nNote: even with setup fixed, the release build itself targets `pkgs/graph` (`.goreleaser.yaml`: `dir: sources/graph`, and `sources` is a symlink to `pkgs/`), whose build currently fails for the separate reason tracked in #166 — so a full green release also depends on #166, or on retargeting/retiring the config.\n\n## Acceptance criteria\n\nPick one direction and land it:\n\n1. **Repair** — `go-version-file` and `cache-dependency-path` point at files that exist on `main` (most naturally `pkgs/graph/go.mod` / `pkgs/graph/go.sum`, the module `.goreleaser.yaml` actually builds); action versions aligned with the repo's other workflows; and the workflow is proven runnable without a real release (e.g. a `workflow_dispatch` dry-run / GoReleaser `check` or snapshot run that gets past setup), **or**\n2. **Retire** — delete `.github/workflows/goreleaser.yml` and `.goreleaser.yaml` deliberately, so nobody relies on a release path that does not exist.\n\nEither way: no workflow file in the repo references a `go-version-file` / `cache-dependency-path` that is absent from the tree it runs against.\n\n## Dedup / related\n\n- #63 (\"shipping-rust-binaries-with-goreleaser\") is a link bookmark, not tracking this workflow.\n- #166 tracks the `pkgs/graph` build failure the release would hit after setup.\n- Single-repo: no `goreleaser` workflow or `go.work` reference exists in developing-today/opencode, developing-today/openchamber, or dezren39/nix (grep-verified) — not a cross-repo set.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-19T09:06:45Z","url":"https://github.com/developing-today/code/issues/344"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4cbd2fbe-1ce1-d454-2596-4ecb867b34e3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BBEA:2FDEEB:6DFF9C:8E650C:6B06265E |
| html-safe-nonce | 7c6f72e629e71b13512f46af89569f5daafc2709f99219f7c805d000fe5bd223 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkVBOjJGREVFQjo2REZGOUM6OEU2NTBDOjZCMDYyNjVFIiwidmlzaXRvcl9pZCI6IjI3MDMyODE3Mzk2Mzk2OTQ5NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 33ce9a0f3fbb2582266c43b13bec0e903ed975a7aaac0b5bd584495785a4d435 |
| hovercard-subject-tag | issue:5920994240 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/344/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3c728c235d757f44d64d8c2505ce4364657f58598acb278897c2fddd8b1062cb/developing-today/code/issues/344 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c728c235d757f44d64d8c2505ce4364657f58598acb278897c2fddd8b1062cb/developing-today/code/issues/344 |
| og:image:alt | Problem The goreleaser workflow (.github/workflows/goreleaser.yml, triggered on every tag push on.push.tags: ['*']) cannot get past its Set up Go step on current main: it asks actions/setup-go to r... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9e10bb0ecc0bd0f8692aa89586ee9b54e498d7ab9f244a44cdb5b93653a125ce |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 32e57d5cc2ce6ce92ec6dceb65858344750c27c2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width