Package Go binaries as Python wheels
Project description
go-wheel-action
Package Go binaries as Python wheels
Usage • Inputs • CLI • Platforms
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file go_wheel_action-1.0.0-py3-none-win_arm64.whl.
File metadata
- Download URL: go_wheel_action-1.0.0-py3-none-win_arm64.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3, Windows ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c847f29e147ca5bfc42108f7fef0089dff5b27876efb169c30a0c6a5a97f0995
|
|
| MD5 |
a0758cce9997b65138653e21364b8311
|
|
| BLAKE2b-256 |
9b557d2260883d87e48b6042bea31be01a80fa7ba6e8b4707748055f753f0e98
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
go_wheel_action-1.0.0-py3-none-win_arm64.whl -
Subject digest:
c847f29e147ca5bfc42108f7fef0089dff5b27876efb169c30a0c6a5a97f0995 - Sigstore transparency entry: 1185852433
- Sigstore integration time:
-
Permalink:
deadnews/go-wheel-action@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/deadnews
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Trigger Event:
push
-
Statement type:
File details
Details for the file go_wheel_action-1.0.0-py3-none-win_amd64.whl.
File metadata
- Download URL: go_wheel_action-1.0.0-py3-none-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4c9dbb4a5644f3ce3d9d187288de82ae869d7dda632b9b92c188a237f1f72c8
|
|
| MD5 |
4dc979135fde79a19ef76af873c6bf2a
|
|
| BLAKE2b-256 |
b9238952b4fa8a38d58d805eaabd32c7dfa0d83080ee3affa071f6676c196e2a
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
go_wheel_action-1.0.0-py3-none-win_amd64.whl -
Subject digest:
d4c9dbb4a5644f3ce3d9d187288de82ae869d7dda632b9b92c188a237f1f72c8 - Sigstore transparency entry: 1185852498
- Sigstore integration time:
-
Permalink:
deadnews/go-wheel-action@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/deadnews
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Trigger Event:
push
-
Statement type:
File details
Details for the file go_wheel_action-1.0.0-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: go_wheel_action-1.0.0-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74bc6f5f9b42a3d557fecabd29cfaff0d7f41483735c2dee003d67a3f248d94d
|
|
| MD5 |
3c037c2231d7238b51df0cf33cd792ca
|
|
| BLAKE2b-256 |
2bc2f4d8460ad1cb53b4ca68a367e25f86a46823f824e6aa983fe721b0513749
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
go_wheel_action-1.0.0-py3-none-musllinux_1_2_x86_64.whl -
Subject digest:
74bc6f5f9b42a3d557fecabd29cfaff0d7f41483735c2dee003d67a3f248d94d - Sigstore transparency entry: 1185852419
- Sigstore integration time:
-
Permalink:
deadnews/go-wheel-action@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/deadnews
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Trigger Event:
push
-
Statement type:
File details
Details for the file go_wheel_action-1.0.0-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: go_wheel_action-1.0.0-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
741f977b6091c1cf16f83c78c5d5514c76915daadf2fcf433a1d8848dbcf582d
|
|
| MD5 |
f63592dfa70d030833c1d45717c7f817
|
|
| BLAKE2b-256 |
9940ffdae27f6715e73620f618ecca48cd4b1436ec3df8ed3412933d45083fe4
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
go_wheel_action-1.0.0-py3-none-musllinux_1_2_aarch64.whl -
Subject digest:
741f977b6091c1cf16f83c78c5d5514c76915daadf2fcf433a1d8848dbcf582d - Sigstore transparency entry: 1185852465
- Sigstore integration time:
-
Permalink:
deadnews/go-wheel-action@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/deadnews
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Trigger Event:
push
-
Statement type:
File details
Details for the file go_wheel_action-1.0.0-py3-none-manylinux_2_17_x86_64.whl.
File metadata
- Download URL: go_wheel_action-1.0.0-py3-none-manylinux_2_17_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23a537a37f22b932072cde904bf59d69f7a196cb072610fa109bb58bb2828e63
|
|
| MD5 |
e1402f58baacb2204902c0d31900e2cd
|
|
| BLAKE2b-256 |
6e21180ea73dd36caa6f5bbb1a3cb21da6de4a0336e4b85dad023881bff583fe
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
go_wheel_action-1.0.0-py3-none-manylinux_2_17_x86_64.whl -
Subject digest:
23a537a37f22b932072cde904bf59d69f7a196cb072610fa109bb58bb2828e63 - Sigstore transparency entry: 1185852478
- Sigstore integration time:
-
Permalink:
deadnews/go-wheel-action@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/deadnews
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Trigger Event:
push
-
Statement type:
File details
Details for the file go_wheel_action-1.0.0-py3-none-manylinux_2_17_aarch64.whl.
File metadata
- Download URL: go_wheel_action-1.0.0-py3-none-manylinux_2_17_aarch64.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e6f57bf71f8c5ccb0b8f164fd1ccc060d91d46edfc474a4631a55fe4e262984
|
|
| MD5 |
c9c7cb61dbccfe28fc18c22b8e570a3b
|
|
| BLAKE2b-256 |
43f39321569ab13a5b93061e61bfaa244fd903792ae9b921f2a0d9515a86e4eb
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
go_wheel_action-1.0.0-py3-none-manylinux_2_17_aarch64.whl -
Subject digest:
8e6f57bf71f8c5ccb0b8f164fd1ccc060d91d46edfc474a4631a55fe4e262984 - Sigstore transparency entry: 1185852452
- Sigstore integration time:
-
Permalink:
deadnews/go-wheel-action@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/deadnews
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Trigger Event:
push
-
Statement type:
File details
Details for the file go_wheel_action-1.0.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: go_wheel_action-1.0.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
272d96990e4ee031b089ae83155f4527a64f090bdca6c0751f3e91e32cfd74af
|
|
| MD5 |
58584da6465d1d209405727b4ff59755
|
|
| BLAKE2b-256 |
54fbc1a6888a578c47d90fc5e1341b922d4cdc389d2e05f5b4a2fe7952e6ecdb
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
go_wheel_action-1.0.0-py3-none-macosx_11_0_arm64.whl -
Subject digest:
272d96990e4ee031b089ae83155f4527a64f090bdca6c0751f3e91e32cfd74af - Sigstore transparency entry: 1185852510
- Sigstore integration time:
-
Permalink:
deadnews/go-wheel-action@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/deadnews
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Trigger Event:
push
-
Statement type:
File details
Details for the file go_wheel_action-1.0.0-py3-none-macosx_10_9_x86_64.whl.
File metadata
- Download URL: go_wheel_action-1.0.0-py3-none-macosx_10_9_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24506d8effc6c0d27d39758dbe32bacf43c569093addbc80d25a2d9006d8e7f0
|
|
| MD5 |
540e48e16adb0f89855b3ddcd5a63f91
|
|
| BLAKE2b-256 |
045d4d5a28b6669601e6da7a9b5bbc21a43cb3d47e7caeea38431c505fa755ae
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
go_wheel_action-1.0.0-py3-none-macosx_10_9_x86_64.whl -
Subject digest:
24506d8effc6c0d27d39758dbe32bacf43c569093addbc80d25a2d9006d8e7f0 - Sigstore transparency entry: 1185852407
- Sigstore integration time:
-
Permalink:
deadnews/go-wheel-action@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/deadnews
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@bd5a25cf82ab01b8805626a2fe69d9f20bd7aa3e -
Trigger Event:
push
-
Statement type: