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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

go_wheel_action-1.0.2-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.2-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for go_wheel_action-1.0.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d8f97ff7ab4012928f96b012cb6fb542004875ae40989bf2da36b968490d3645
MD5 01e767ea27983d1fe188035fc4c9407a
BLAKE2b-256 9ac18fdd6850f96fe7d913a2aa0543eef281fd14698514ee7e5cae3b8b656ed0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8c35ea4f9296531e04e7e09bbd8dbdb0807002d6fc8a93b307d34b4e5c180fd1
MD5 c4110960f33bf07a1bfb3be93eb9bc53
BLAKE2b-256 eddfdbe067b5cd9ecbee4e3b9f421a577d33f2153762e1f249eea35ad77edaab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.2-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e3a70ae9d64ec50e9794aa612c101d38ecf727d5a492aa42dbeec81b340f7093
MD5 6f2da1eb7b8f81cbfa3dae721f68f707
BLAKE2b-256 e5cfe96199a851de0e5d1af7dd72669c15c50ebea0e58ff53c5d9cddb723a55e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.2-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8ee211b69bed6b56fb53a5ad580e2605a2f9a6b948c011707cea063678ecec7c
MD5 2b1b82671d57ed22bd3c599fafc5f8e8
BLAKE2b-256 9e1f4706832efca414d2074c8f5aba20bacc342423fb80693b1c5d72395fc994

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.2-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 8422b46269c6fc4a56e51d194738789e0d976ce2d0c8fc17a02ee755212aca5a
MD5 3b8841b6363b508fb1e073cee93ca099
BLAKE2b-256 7f0761dc59028ce389393589be6bf2c66c10739bd91a86bad1b29ea302263020

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.2-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 8ee86260d921c236e2ba0d863899fe3668ac525efc9da7c09d235f3c80ab41ec
MD5 75c662968fd57c9bf4bef6b8e6c087f1
BLAKE2b-256 fba22acc6222b2c33a9c0b8b2ecde82158562fdb1871d47d558c2cb40d39cd43

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 59ce63fb23073f8fc122a8d2b75fb0847523277ecd0701405c874f41c22d6cec
MD5 6f05696ca6cf7256e8211d080acf8974
BLAKE2b-256 14ebae761581c91bd93f36f307a3484d80e4e6cc6d1aaa9e9f7036f49d514543

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for go_wheel_action-1.0.2-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 26bb492177e19b33ac7bb939d42443bf192a8f49636ee862e6a513c97ec00da1
MD5 7e06932c227b460170426e5114fe4c8f
BLAKE2b-256 500e862f332e3d9a01feba6342c10d17e55409b37b616954bee2b55118f2ec64

See more details on using hashes here.

Provenance

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