CICD-099 · Inspect wheel contents before publishing
Encyclopedia · Artifact handoffs · All snippets
Previous · CICD-098 · Next · CICD-100
1. Where it fits
- Placement Bash run step following checkout, or equivalent lab terminal.
- Prerequisites actions runner, trusted producers and files actually generated by tests.
- Platforms local-linux, github-actions, gitea-actions.
2. Copy the snippet
bash
python -m zipfile -l dist/*.whl3. How it works
A wheel is a ZIP archive. Listing it checks whether expected modules and data are present without invoking package code.
4. Verify the result
Check application assets exist and unintended config or credentials do not appear.
Validation syntax-validated (Bash parse). Status definitions.