Skip to content

ci: keep make offline-safe and refresh GitHub Actions majors - #61

Merged
zchee merged 2 commits into
mainfrom
ci-fix-go
Aug 31, 2026
Merged

ci: keep make offline-safe and refresh GitHub Actions majors#61
zchee merged 2 commits into
mainfrom
ci-fix-go

Conversation

@zchee

@zchee zchee commented Aug 31, 2026

Copy link
Copy Markdown
Member

Two independent build/CI fixes.

make: pin GOEXPERIMENT without probing the Go release feed

GO_STABLE_VERSION shelled out to https://go.dev/dl/?mode=json on every
make invocation, so any target failed (or silently changed the experiment
set) whenever the network was unavailable or the release feed moved on. The
experiment list is now pinned to simd,runtimesecret, which both the local
toolchain and the CI runners accept, and the unused GO_VERSION probe is
dropped.

CI: bump GitHub Actions to their current major releases

actions/checkout, actions/setup-go and codecov/codecov-action are moved
from v6 to v7. github/codeql-action stays on v4 because that is still its
latest major.

The v7 releases are ESM repackaging plus, for checkout, a new block on
checking out fork pull requests under pull_request_target and workflow_run.
Neither event is used in this repository, so behaviour is unchanged.

🤖 Generated with Claude Code

https://claude.ai/code/session_016EWrxxf4HKDErJgYop4wHd

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request simplifies the Makefile by removing dynamic Go version detection and stable version checks, and statically defining the GOEXPERIMENT variable. Feedback suggests using conditional assignment (?=) instead of immediate assignment (:=) for GOEXPERIMENT to allow developers and CI environments to override it.

Comment thread Makefile Outdated
@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.2%. Comparing base (175c67b) to head (fd04595).
⚠️ Report is 2 commits behind head on main.

@@          Coverage Diff          @@
##            main     #61   +/-   ##
=====================================
  Coverage   85.2%   85.2%           
=====================================
  Files         27      27           
  Lines       6135    6135           
=====================================
  Hits        5230    5230           
  Misses       905     905           
Flag Coverage Δ
Linux-ARM64 85.2% <ø> (ø)
Linux-X64 87.5% <ø> (ø)

zchee added 2 commits August 31, 2026 19:22
GO_STABLE_VERSION shelled out to go.dev on every make invocation, so
any target failed or silently changed the experiment set whenever the
network was unavailable or the release feed moved on.

Pin the list to simd and runtimesecret, which both the local toolchain
and the CI runners accept, and drop the now unused GO_VERSION probe.
actions/checkout, actions/setup-go and codecov/codecov-action have all
released v7; github/codeql-action stays on v4 because that is still its
latest major.

The v7 releases are ESM repackaging plus, for checkout, a new block on
checking out fork pull requests under pull_request_target and
workflow_run. Neither event is used here, so behaviour is unchanged.
@zchee
zchee merged commit fd04595 into main Aug 31, 2026
9 checks passed
@zchee
zchee deleted the ci-fix-go branch August 31, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant