This repository was archived by the owner on Jan 2, 2026. It is now read-only.
chore(release): bump version 0.5.2 → 0.5.3 #12
Workflow file for this run
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
| name: Publish to PyPI | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| publish: | |
| name: Build and Publish | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read # Required to checkout private repo | |
| id-token: write # Required for trusted publishing | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Set up Python | |
| run: uv python install 3.13 | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Run quality checks | |
| run: | | |
| uv run ruff format --check src/ tests/ | |
| uv run ruff check src/ tests/ | |
| uv run mypy src/ | |
| - name: Run tests | |
| run: uv run pytest --cov=src/git_notes_memory --cov-fail-under=80 -v | |
| - name: Build package | |
| run: uv build | |
| - name: Check package | |
| run: uvx twine check dist/* | |
| - name: Publish to PyPI | |
| env: | |
| UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
| run: uv publish |