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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

go_wheel_action-1.0.0-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.0-py3-none-musllinux_1_2_aarch64.whl (1.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

go_wheel_action-1.0.0-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.0-py3-none-manylinux_2_17_aarch64.whl (1.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 c847f29e147ca5bfc42108f7fef0089dff5b27876efb169c30a0c6a5a97f0995
MD5 a0758cce9997b65138653e21364b8311
BLAKE2b-256 9b557d2260883d87e48b6042bea31be01a80fa7ba6e8b4707748055f753f0e98

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d4c9dbb4a5644f3ce3d9d187288de82ae869d7dda632b9b92c188a237f1f72c8
MD5 4dc979135fde79a19ef76af873c6bf2a
BLAKE2b-256 b9238952b4fa8a38d58d805eaabd32c7dfa0d83080ee3affa071f6676c196e2a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 74bc6f5f9b42a3d557fecabd29cfaff0d7f41483735c2dee003d67a3f248d94d
MD5 3c037c2231d7238b51df0cf33cd792ca
BLAKE2b-256 2bc2f4d8460ad1cb53b4ca68a367e25f86a46823f824e6aa983fe721b0513749

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 741f977b6091c1cf16f83c78c5d5514c76915daadf2fcf433a1d8848dbcf582d
MD5 f63592dfa70d030833c1d45717c7f817
BLAKE2b-256 9940ffdae27f6715e73620f618ecca48cd4b1436ec3df8ed3412933d45083fe4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 23a537a37f22b932072cde904bf59d69f7a196cb072610fa109bb58bb2828e63
MD5 e1402f58baacb2204902c0d31900e2cd
BLAKE2b-256 6e21180ea73dd36caa6f5bbb1a3cb21da6de4a0336e4b85dad023881bff583fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 8e6f57bf71f8c5ccb0b8f164fd1ccc060d91d46edfc474a4631a55fe4e262984
MD5 c9c7cb61dbccfe28fc18c22b8e570a3b
BLAKE2b-256 43f39321569ab13a5b93061e61bfaa244fd903792ae9b921f2a0d9515a86e4eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 272d96990e4ee031b089ae83155f4527a64f090bdca6c0751f3e91e32cfd74af
MD5 58584da6465d1d209405727b4ff59755
BLAKE2b-256 54fbc1a6888a578c47d90fc5e1341b922d4cdc389d2e05f5b4a2fe7952e6ecdb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 24506d8effc6c0d27d39758dbe32bacf43c569093addbc80d25a2d9006d8e7f0
MD5 540e48e16adb0f89855b3ddcd5a63f91
BLAKE2b-256 045d4d5a28b6669601e6da7a9b5bbc21a43cb3d47e7caeea38431c505fa755ae

See more details on using hashes here.

Provenance

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