Skip to content

Add publish workflow#62

Merged
amrit110 merged 2 commits intomainfrom
add_publish_workflow
Mar 12, 2026
Merged

Add publish workflow#62
amrit110 merged 2 commits intomainfrom
add_publish_workflow

Conversation

@amrit110
Copy link
Member

This pull request introduces a new GitHub Actions workflow for publishing the package when a new version tag is pushed, and updates the pre-commit configuration to use the correct Ruff hook for linting.

Continuous Integration / Deployment:

  • Added a .github/workflows/publish.yml workflow to automate package publishing on PyPI when a new tag is pushed. This workflow sets up dependencies, installs Python and the uv package manager, builds the package, and publishes it using the PyPI API token.

Code Quality / Tooling:

  • Updated .pre-commit-config.yaml to use the ruff-check hook instead of the deprecated ruff hook for Python linting, ensuring compatibility with the latest Ruff pre-commit integration.

@amrit110 amrit110 requested a review from fcogidi March 12, 2026 18:36
@amrit110 amrit110 self-assigned this Mar 12, 2026
Copy link
Collaborator

@fcogidi fcogidi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious about using:

on:
  push:
    tags:
      - "v*"

vs.

on:
  release:
    types: [published]

@amrit110 amrit110 merged commit 6872df4 into main Mar 12, 2026
4 checks passed
@amrit110 amrit110 deleted the add_publish_workflow branch March 12, 2026 18:54
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