From 6640b61c72e47fd288bffd94a4f4f7c963f68f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Gr=C3=A9goire?= Date: Mon, 17 Aug 2026 16:37:47 -0400 Subject: [PATCH 1/2] fix docs workflow to install docs extra instead of undefined group Co-Authored-By: Claude Fable 5 --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 42b6aff..cdbb6ed 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,7 +17,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: astral-sh/setup-uv@v5 - - run: uv sync --group docs + - run: uv sync --extra docs - run: uv run mkdocs build --strict - uses: actions/upload-pages-artifact@v3 with: From 079855e9e0599282ae06acf4c0f28c16f5e593a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Gr=C3=A9goire?= Date: Mon, 17 Aug 2026 16:37:57 -0400 Subject: [PATCH 2/2] trigger publish on version tags and gate on tests Co-Authored-By: Claude Fable 5 --- .github/workflows/publish.yml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bddcd7f..0743330 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,35 +2,23 @@ name: Publish on: push: - branches: ["main"] + tags: ["v*"] permissions: - contents: write id-token: write # required for PyPI Trusted Publishing jobs: - bump-and-publish: + publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - fetch-depth: 0 - token: ${{ secrets.GITHUB_TOKEN }} - uses: astral-sh/setup-uv@v5 - - name: Configure git - run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" + - run: uv sync --all-extras - - name: Bump patch version - run: | - uv add --dev bump-my-version - uv run bump-my-version bump patch --commit --tag - - - name: Push commit and tag - run: git push --follow-tags + - name: Run tests + run: uv run pytest - name: Build run: uv build