Add GitHub Actions workflow for PyPI deployment#8
Merged
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add release.yml workflow for automated PyPI publishing
Update pyproject.toml with additional project URLs
Add MANIFEST.in to ensure template files are included
UV is already fully implemented in the repository.