Skip to content

Add GitHub Actions workflow for PyPI deployment#8

Merged
lukewiwa merged 3 commits into
mainfrom
claude/github-pypi-deployment-2R9Za
Jan 5, 2026
Merged

Add GitHub Actions workflow for PyPI deployment#8
lukewiwa merged 3 commits into
mainfrom
claude/github-pypi-deployment-2R9Za

Conversation

@lukewiwa

@lukewiwa lukewiwa commented Jan 5, 2026

Copy link
Copy Markdown
Owner
  • Add release.yml workflow for automated PyPI publishing

    • Triggers on GitHub releases
    • Runs tests before building
    • Uses PyPI trusted publisher (OIDC) for secure deployment
    • Includes manual workflow_dispatch trigger
  • Update pyproject.toml with additional project URLs

    • Add Homepage, Repository, and Issues URLs
    • Configure hatchling package discovery
  • Add MANIFEST.in to ensure template files are included

    • Include README.md and LICENSE
    • Recursively include all template files

UV is already fully implemented in the repository.

claude added 3 commits January 5, 2026 04:22
- Add release.yml workflow for automated PyPI publishing
  - Triggers on GitHub releases
  - Runs tests before building
  - Uses PyPI trusted publisher (OIDC) for secure deployment
  - Includes manual workflow_dispatch trigger

- Update pyproject.toml with additional project URLs
  - Add Homepage, Repository, and Issues URLs
  - Configure hatchling package discovery

- Add MANIFEST.in to ensure template files are included
  - Include README.md and LICENSE
  - Recursively include all template files

UV is already fully implemented in the repository.
Replace raw curl installation with the official UV GitHub Action
for better reliability and caching support.

Updated workflows:
- release.yml: Use astral-sh/setup-uv@v4 for test and build jobs
- pipeline.yml: Use astral-sh/setup-uv@v4 for consistency
- Create test.yml as a reusable workflow that can be called by other workflows
- test.yml runs on both 'push' and 'workflow_call' triggers
- Update release.yml to call test.yml instead of duplicating test logic
- Remove pipeline.yml (replaced by test.yml)

This eliminates duplication and ensures consistent test execution
across CI and release workflows.
@lukewiwa lukewiwa merged commit 5a1ffc3 into main Jan 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants