Skip to main content

Package Go binaries as Python wheels

Project description

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

Project details


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.1-py3-none-win_arm64.whl (1.1 MB view details)

Uploaded Python 3Windows ARM64

go_wheel_action-1.0.1-py3-none-win_amd64.whl (1.2 MB view details)

Uploaded Python 3Windows x86-64

go_wheel_action-1.0.1-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.1-py3-none-musllinux_1_2_aarch64.whl (1.0 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

go_wheel_action-1.0.1-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.1-py3-none-manylinux_2_17_aarch64.whl (1.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

go_wheel_action-1.0.1-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.1-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 b8575d6b2fcb1797515295e898dfad5b0a2f26eb2b451256f68afd9c926f145f
MD5 48c110c969d1f1f3f757c238e251b979
BLAKE2b-256 7cd088f2233fa77a5962dab4d83aca224d3bd18d0912bb0b552d387d95fcd8de

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.1-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.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9984259351089a04203f0da2914482f417f360f434526d0dcffcd58b5433d316
MD5 ddd76523c764118d5c725c8472b3220f
BLAKE2b-256 a0c10dfc2f662d6a4b8439311ff8df361f6976f6adcf8eda6743b6eb7f65feb5

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.1-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.1-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 9a5dbad00481a80e46e6ce03fd1ec7120fdfa80b660ce660ab37c8da97d34b00
MD5 e12143391994117a610491e8f18504fb
BLAKE2b-256 ccf5db778e113c1fd0bd30424e2f78223751538c53a032dfa63db820043d1b79

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.1-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.1-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 92f2a53fe476b06f46ce7929857039b3f98400e551c79e23ee98f992ea7c8983
MD5 ee9cee36346e452160ce02e5d139f56b
BLAKE2b-256 b856fea22d5bcb6bc7d6eaa11449b09e7156e383773f93fd8b3d46461818af02

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.1-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.1-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.1-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 14b4d18d8837a5353f5bd05105caee9c7aa3eddb4d43f007cd82f731156c8441
MD5 b22f1bf603e80f4e6d2fbe331e46a879
BLAKE2b-256 36f69f20e568a1f05f6101d9fc2e4621724010b26e15bff42d9df95960fc1c07

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.1-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.1-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.1-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 8c30d159f0477f33649f87e9f057c0cb414ea1c9e6f844345d9b07df91d2f88e
MD5 4f9d376d415fb2b24554dcd6ec46b49d
BLAKE2b-256 a79e70e90a9c5da814ceeab67417f94f99b01afd20a3d24026fad6e7d8093252

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.1-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.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ff3e8a53f11b49e9dc634d6535ab2afc7acdee463589ffaa4ef41dae02ea7e3e
MD5 7ab4bcc2ef3b539128bf7505b6d061ee
BLAKE2b-256 d8d1bd53bc42428d02c98dad0cfb232bf295ec95d4ee4622c9b03ceddf807869

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.1-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.1-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bd0f8522602e3a01538d5219f87221acefb22fc1b0d30a73476146fb574dec6f
MD5 0c1a83b9013fffdad52431d027f06dee
BLAKE2b-256 4c7073cde5e3ac488638142ac720a0bdda23ef461b351fd61de40eea5eace750

See more details on using hashes here.

Provenance

The following attestation bundles were made for go_wheel_action-1.0.1-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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page