Skip to content

Update Go version to 1.24 and add darwin/arm64 release build#5

Merged
sng2c merged 1 commit into
mainfrom
claude/go-version-darwin-arm64-Y0RN0
Mar 25, 2026
Merged

Update Go version to 1.24 and add darwin/arm64 release build#5
sng2c merged 1 commit into
mainfrom
claude/go-version-darwin-arm64-Y0RN0

Conversation

@sng2c

@sng2c sng2c commented Mar 25, 2026

Copy link
Copy Markdown
Owner
  • go.mod: upgrade minimum Go version from 1.17 to 1.24
  • go.yml: update to actions/checkout@v4, setup-go@v5, go 1.24
  • release.yaml: add darwin/arm64 job, update all jobs to go 1.24 and latest action versions

https://claude.ai/code/session_017FVUwA1eLEoNPWaFEtFxtn


Note

Medium Risk
Moderate risk because it raises the minimum supported Go version and changes CI/release tooling, which can break builds for consumers or introduce new compiler/runtime behavior.

Overview
Upgrades the module’s minimum Go version to 1.24 and updates CI (go.yml) to build/test using Go 1.24 with newer actions/checkout@v4 and actions/setup-go@v5.

Refreshes the release workflow to use wangyoucao577/go-release-action@v1.40, pins releases to Go 1.24 across targets, and adds a new darwin/arm64 release job.

Written by Cursor Bugbot for commit e16c22f. This will update automatically on new commits. Configure here.

- go.mod: upgrade minimum Go version from 1.17 to 1.24
- go.yml: update to actions/checkout@v4, setup-go@v5, go 1.24
- release.yaml: add darwin/arm64 job, update all jobs to go 1.24 and latest action versions

https://claude.ai/code/session_017FVUwA1eLEoNPWaFEtFxtn
@sng2c sng2c merged commit 56eaee3 into main Mar 25, 2026
2 checks passed

@cursor cursor 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread .github/workflows/go.yml
uses: actions/setup-go@v5
with:
go-version: 1.17
go-version: 1.24

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Unquoted Go version numbers parsed as YAML floats

Low Severity

The go-version: 1.24 and goversion: 1.24 values are unquoted, so YAML parses them as floats rather than strings. This happens to work for 1.24 since no trailing zeros are lost, but it's a well-documented fragile pattern — a future update to a version like 1.30 would silently resolve to 1.3, installing the wrong Go version. Quoting the values (e.g., "1.24") prevents this class of bugs.

Additional Locations (1)
Fix in Cursor Fix in Web

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.

2 participants