Skip to content

Commit ed79012

Browse files
Merge pull request #2005 from VWS-Python/check-wheel-contents
Check wheel contents after creation
2 parents d3b3754 + 6e010b0 commit ed79012

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
git checkout "$(git describe --tags "$(git rev-list --tags --max-count=1)")"
8080
python -m pip install build
8181
python -m build --sdist --wheel --outdir dist/ .
82+
check-wheel-contents dist/*.whl
8283
8384
# We use PyPI trusted publishing rather than a PyPI API token.
8485
# See https://github.com/pypa/gh-action-pypi-publish/tree/release/v1/?tab=readme-ov-file#trusted-publishing.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ dependencies = [
299299
dev = [
300300
"actionlint-py==1.6.27.12",
301301
"check-manifest==0.49",
302+
"check-wheel-contents==0.6.0",
302303
"deptry==0.15.0",
303304
"dirty-equals==0.7.1.post0",
304305
"doc8==1.1.1",

0 commit comments

Comments
 (0)