Golang CGO cross compiler
Version updated for https://github.com/crazy-max/ghaction-xgo to version v4.0.0.
- This action is used across all versions by 541 repositories.
Action Type
This is a Node action using Node version 24.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action provides a streamlined solution for cross-compiling Go applications with CGO support using the xgo tool. It automates the process of building Go binaries for multiple platforms and architectures, addressing the complexity of managing cross-compilation environments manually. Key capabilities include support for custom Go versions, output configuration, and platform-specific target builds.
Release notes
- Node 24 as default runtime (requires Actions Runner v2.327.1 or later) by @crazy-max in https://github.com/crazy-max/ghaction-xgo/pull/366
- Switch to ESM and update config/test wiring by @crazy-max in https://github.com/crazy-max/ghaction-xgo/pull/365
- Bump @actions/core from 1.11.1 to 3.0.0 in https://github.com/crazy-max/ghaction-xgo/pull/358
- Bump @actions/exec from 1.1.1 to 3.0.0 in https://github.com/crazy-max/ghaction-xgo/pull/359
- Bump @actions/http-client from 2.2.3 to 4.0.0 in https://github.com/crazy-max/ghaction-xgo/pull/361
- Bump @actions/tool-cache from 2.0.2 to 4.0.0 in https://github.com/crazy-max/ghaction-xgo/pull/362
- Bump brace-expansion from 1.1.11 to 1.1.12 in https://github.com/crazy-max/ghaction-xgo/pull/350
- Bump js-yaml from 3.14.0 to 3.14.2 in https://github.com/crazy-max/ghaction-xgo/pull/354
- Bump lodash from 4.17.21 to 4.17.23 in https://github.com/crazy-max/ghaction-xgo/pull/356
- Bump minimatch from 3.1.2 to 3.1.5 in https://github.com/crazy-max/ghaction-xgo/pull/364
- Bump semver from 7.7.1 to 7.7.4 in https://github.com/crazy-max/ghaction-xgo/pull/360
Full Changelog: https://github.com/crazy-max/ghaction-xgo/compare/v3.2.0...v4.0.0