Skip to main content

go-wheel-action

Package Go binaries as Python wheels

PyPI: Version GitHub: Release CI: Main CI: Coverage

UsageInputsCLIPlatforms

Usage

- uses: actions/setup-go@v6
  with:
    go-version-file: go.mod

- name: Build wheels
  uses: deadnews/go-wheel-action@v1
  with:
    package: ./cmd/myapp

- name: Publish to PyPI
  uses: pypa/gh-action-pypi-publish@v1

Inputs

On a tag push, all inputs are optional — defaults are derived from the GitHub context.

Input Default Description
mod-dir . Directory containing go.mod
package . Go package to build (passed to go build [package])
version github.ref_name Package version
name basename of mod-dir Python package name and CLI command
ldflags -s Go linker flags
output-dir ./dist Directory for built wheels
readme README.md Path to README for PyPI
url repository URL Project URL for PyPI
description repository description Package summary for PyPI
license repository license License identifier for PyPI

CLI

Can be used outside of GitHub Actions via environment variables:

GOWHEEL_VERSION=0.0.1 \
GOWHEEL_PACKAGE=./cmd/myapp \
go run github.com/deadnews/go-wheel-action/cmd/go-wheel-action@latest

# or, since the tool publishes itself on PyPI:
GOWHEEL_VERSION=0.0.1 \
GOWHEEL_PACKAGE=./cmd/myapp \
uvx go-wheel-action

Platforms

Builds wheels for 8 platform targets (all statically compiled with CGO_ENABLED=0):

OS Arch Wheel tag
Linux amd64 manylinux_2_17_x86_64, musllinux_1_2_x86_64
Linux arm64 manylinux_2_17_aarch64, musllinux_1_2_aarch64
macOS amd64 macosx_10_9_x86_64
macOS arm64 macosx_11_0_arm64
Windows amd64 win_amd64
Windows arm64 win_arm64

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

go_wheel_action-1.0.3-py3-none-win_arm64.whl (1.1 MB view details)

Uploaded Python 3Windows ARM64

go_wheel_action-1.0.3-py3-none-win_amd64.whl (1.1 MB view details)

Uploaded Python 3Windows x86-64

go_wheel_action-1.0.3-py3-none-musllinux_1_2_x86_64.whl (1.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

go_wheel_action-1.0.3-py3-none-musllinux_1_2_aarch64.whl (1.0 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

go_wheel_action-1.0.3-py3-none-manylinux_2_17_x86_64.whl (1.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

go_wheel_action-1.0.3-py3-none-manylinux_2_17_aarch64.whl (1.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

go_wheel_action-1.0.3-py3-none-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

go_wheel_action-1.0.3-py3-none-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file go_wheel_action-1.0.3-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.3-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 15373c809019d4939c822cba71dab33ae76bf3daaa0143eb943d24b3829b93d7
MD5 d0775c1eef533e6f7c94c0b0a35428f6
BLAKE2b-256 de8ae44ed8cd3548f12b76a2d0b4c244b07fb1f7a6ccaba52ace5b80a8e144e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.3-py3-none-win_arm64.whl:

Publisher: main.yml on deadnews/go-wheel-action

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file go_wheel_action-1.0.3-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 06e6b2a62068bda1c1e0d053ee478fffd636d809cf80d91e73fb0b31749b8e1d
MD5 0ac02d85eb7d67b16cb45f392a4d307b
BLAKE2b-256 e81909515080649cc3ac6ec7607782d6502535d543b8177da30b69b74a6d5fc0

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.3-py3-none-win_amd64.whl:

Publisher: main.yml on deadnews/go-wheel-action

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file go_wheel_action-1.0.3-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.3-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bfcd657c2f685fb01d8494c268b8eb61641cd0c7d626e1e406edf21f2bd713db
MD5 0f630047a5693b023c247cacb714a2c4
BLAKE2b-256 9b6f18c00f14eeeb3ea61f46d62e27e1b6df79905542f42fc847ec64aaaf7ce2

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.3-py3-none-musllinux_1_2_x86_64.whl:

Publisher: main.yml on deadnews/go-wheel-action

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file go_wheel_action-1.0.3-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.3-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 25d02354f665a147dad5211ee7587a5c1248c1c0b324f01a8b0c9de27be7e132
MD5 04312eedcebb7cc60a46d499a630f15e
BLAKE2b-256 fcaf937455ef9786efc261cf6b1e13ec3c6b789a5927180e5559165ffb6b1824

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.3-py3-none-musllinux_1_2_aarch64.whl:

Publisher: main.yml on deadnews/go-wheel-action

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file go_wheel_action-1.0.3-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.3-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 64555f544096a4bf3b64fd7cb44f1f3841e7ae5d6407a4def32457245698cb9c
MD5 8716c2986c876a368b4ddc70125f593f
BLAKE2b-256 d26c7b1cfcf09af65318df4ebb7b9ba4da3af77bf326ad6170fd7dc846a6fa79

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.3-py3-none-manylinux_2_17_x86_64.whl:

Publisher: main.yml on deadnews/go-wheel-action

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file go_wheel_action-1.0.3-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.3-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 9b0f04cb9815cabb87ac77ad8df0bd739d1b66219d29f0b9b4a7f5ffcf36adff
MD5 71948bf7ae1089e7d2c4bf1cec2eff26
BLAKE2b-256 14f303033fb5f41527a7433a696aea66c62cb3c34f85d616fdd5d4299e88173d

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.3-py3-none-manylinux_2_17_aarch64.whl:

Publisher: main.yml on deadnews/go-wheel-action

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file go_wheel_action-1.0.3-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 73de27fbdde237c6cd632e6d26d74b8dcc505a61ce991893def6c60a97fa56ef
MD5 9de1201bcf158a13af3d29dffabde7df
BLAKE2b-256 7513491858e79ecf5fc109d8ea98e59f887a6218b98950f3561e0f9b8a3307a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.3-py3-none-macosx_11_0_arm64.whl:

Publisher: main.yml on deadnews/go-wheel-action

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file go_wheel_action-1.0.3-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.3-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4a65b8c7cc69f2bd0908e6fd3d9f2298b616ff8195c1578f29b793e45b8218e3
MD5 55b02e4cfcc6cb8311f23aaeacee98a7
BLAKE2b-256 dee7dae1cca491909054ed2f22ff78a1f6af8cceef90946962a5c79f693372ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.3-py3-none-macosx_10_9_x86_64.whl:

Publisher: main.yml on deadnews/go-wheel-action

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.0.3 This release

8 files

1.0.2

8 files

1.0.1

8 files

1.0.0

8 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page