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 package 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 as a wheel:
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.0a5-py3-none-win_arm64.whl (1.1 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

go_wheel_action-1.0.0a5-py3-none-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

go_wheel_action-1.0.0a5-py3-none-musllinux_1_2_aarch64.whl (1.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

go_wheel_action-1.0.0a5-py3-none-manylinux_2_17_x86_64.whl (1.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

go_wheel_action-1.0.0a5-py3-none-manylinux_2_17_aarch64.whl (1.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

go_wheel_action-1.0.0a5-py3-none-macosx_11_0_arm64.whl (1.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

go_wheel_action-1.0.0a5-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.0a5-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.0a5-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 fa404dc2230baaa3db6bf598fa534312d8c15360c0c6048f2dc4f6fbf04d9c8d
MD5 bbedc0499a21a9029bb078af46b9e6dc
BLAKE2b-256 e2ef1c839c46c61061bd8647a7d0a85d5e6faa07ed2662500807b30ace7fd831

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0a5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5e57d2b3fb4813d46e09641686f135b7eee078020c588adc674305eb22ba768f
MD5 6ba861b87cb1b1af136c6bb3c3da7c06
BLAKE2b-256 ce362d4d5b77dd19a19de5249aed8c249b8c0d95dd8b75813b06c682a0f257a4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0a5-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e5d35bd5e128bf0af7124cae02ef0863337c3afaa2977f93143f96548a1d4aac
MD5 59477aa694b75af4a7f2ac61fd5b827d
BLAKE2b-256 596de8d67f6bae1a98053e67f8f57002dbad0a48b6752625923943907b1fd2f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0a5-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3af3f4c21144df573656454b4c5eaed2f09b8396bb40a94e4acb7bf9e3a0f9b1
MD5 8333b039a353e67bc3f5f4b4cee84a33
BLAKE2b-256 a1c6ca0b7b13a343347e2e1bc25106e22d2925b59e37a42cc3e3bb3ef5775326

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0a5-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 dcace34a7cc1da7f57149c80ca186d562381b3455e8527a2595709003d422087
MD5 674cc2ddd1082aea6f972cd24d49adab
BLAKE2b-256 fd6b0bf592d55e95cc537ddb7c0e45e433bbba2335c60999f4cdf6d9b48ecaab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0a5-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 045bc6c088b8c6744aaa7ab336108af829e86da3bf318d218fc8bd6061640cc0
MD5 7cbbe73f164e476e0f244cf155f8ec6b
BLAKE2b-256 da6cedb0bd02c82e1c87848b3dd6d1befdbec2ff8500630e4d0da02410aee91c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0a5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9c85249a5f06e1807f83fcb05d080988ad475f2bd8cd50154834a25de31f5ca6
MD5 ac7eb5a51911704b4130e8af4faa842d
BLAKE2b-256 28b4a90d1a2551c19583ac1e131d44f2c57082c4ecb78706b6a3d2dfd746272c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0a5-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f9930c660a28167425e7c3738d15fdd4f47743d10fe4c2fdc7e2f0a9440604e8
MD5 8e7f227e9e43516f6d4228dc7438a617
BLAKE2b-256 40a863032b6070d3d89d7b8d22b5c32a20bc327fe11cc3bb3ff4e01a70fa29b3

See more details on using hashes here.

Provenance

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