diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 653a008..37e7881 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: cache: "pip" - name: Install Ruff - run: pip install ruff + run: pip install ruff==0.12.3 - name: Ruff check run: ruff check . diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 3b4a302..b53c7b8 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -1,3 +1,7 @@ +# Publishes the package to PyPI. Runs alongside release.yml (same v* tag +# trigger, separate purpose): this workflow publishes the distribution to +# PyPI via trusted publishing; release.yml creates the GitHub Release with +# generated notes and uploads the same distribution as release assets. name: Publish to PyPI on: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 919e8bc..e45b46e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,8 @@ +# Creates the GitHub Release with generated notes and uploaded distribution +# assets. Runs alongside pypi-publish.yml (same v* tag trigger, separate +# purpose): that workflow publishes the distribution to PyPI; this one +# publishes the GitHub Release. Each builds its own copy of the package +# rather than sharing a build artifact between the two workflows. name: Release on: diff --git a/pyproject.toml b/pyproject.toml index 496a42a..bb37a87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ dependencies = [ [project.optional-dependencies] dev = [ "pytest>=8.0.0", - "ruff>=0.8.0", + "ruff==0.12.3", ] [project.scripts]