Skip to content

Go: remove cgo when build cli - #16723

Merged
JinHai-CN merged 1 commit into
infiniflow:mainfrom
JinHai-CN:fix526
Jul 7, 2026
Merged

JinHai-CN merged 1 commit into
infiniflow:mainfrom
JinHai-CN:fix526

Conversation

@JinHai-CN

Copy link
Copy Markdown
Member

Summary

Fix

@JinHai-CN
JinHai-CN marked this pull request as ready for review July 7, 2026 13:05
@JinHai-CN
JinHai-CN merged commit 2b95fa2 into infiniflow:main Jul 7, 2026
6 checks passed
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 7, 2026
@coderabbitai

coderabbitai Bot commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: dd255029-161e-4963-b547-8e39e350f5e0

📥 Commits

Reviewing files that changed from the base of the PR and between fe835fd and 2bc36d2.

📒 Files selected for processing (1)
  • .github/workflows/release.yml

📝 Walkthrough

Walkthrough

This PR removes the CGO_ENABLED=1 environment variable assignment from both the non-Windows and Windows Go CLI build steps in the release GitHub Actions workflow.

Changes

Release Workflow CGO Cleanup

Layer / File(s) Summary
Remove CGO_ENABLED from build steps
.github/workflows/release.yml
Removes CGO_ENABLED=1 from the non-Windows build step and $env:CGO_ENABLED = "1" from the Windows build step, leaving the existing CC/GOOS/GOARCH setup before go build.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

Suggested labels: ci

Poem

A hop, a skip, a workflow trim,
CGO's flag now fading dim,
No more ENABLED=1 in sight,
Builds run cleaner, lean and light,
This bunny cheers the tidy CI! 🐇✨


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant