Skip to content

fix: broken ci.yml and release.yml workflows#8

Merged
mgiovani merged 1 commit into
mainfrom
fix/ci-and-release-workflows
Jul 8, 2026
Merged

fix: broken ci.yml and release.yml workflows#8
mgiovani merged 1 commit into
mainfrom
fix/ci-and-release-workflows

Conversation

@mgiovani

@mgiovani mgiovani commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • ci.yml has failed instantly with zero jobs scheduled on every push since it was added (predates this branch's other changes) — the integration job's if: referenced the secrets context at job level, which GitHub Actions doesn't allow; the whole run gets rejected before any job (even the unrelated check job) is created. Moved the gate to step-level if: env.GH_TOKEN != '', preserving the intended "no-op without secrets configured" behavior.
  • release.yml's darwin-amd64 matrix entry ran on macos-13, which is no longer an available runner — the job queues forever. Same thing happened on the original v0.1.0 release (job had to be manually cancelled), and v0.1.0's published release is still missing the darwin-amd64 asset today. Now cross-compiles x86_64-apple-darwin from the Apple Silicon macos-14 runner (already used for the arm64 build).

Test plan

  • Both workflow files validated as parseable YAML
  • Merging this and re-cutting v0.2.0 should produce a clean 5/5 platform release — will verify after merge

- ci.yml: `secrets` isn't a legal context in a job-level `if:` — GitHub
  Actions rejects the whole run before scheduling any job when it's used
  there, which is why every push on this repo has failed instantly with
  zero jobs since this workflow was added. Move the gate to step-level
  `if: env.GH_TOKEN != ''` (env context is legal there), keeping the same
  no-op-without-secrets behavior the comment at the top of the file
  describes.
- release.yml: the `darwin-amd64` matrix entry ran on `macos-13`, which is
  no longer an available runner image — the job queues forever and never
  starts. This isn't new: v0.1.0's release run had the same job stuck and
  had to be cancelled, and v0.1.0's published release is still missing the
  darwin-amd64 binary today. Cross-compile x86_64-apple-darwin from the
  Apple Silicon macos-14 runner instead (same one already used for the
  arm64 build).
@mgiovani
mgiovani merged commit 7c82af9 into main Jul 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant