Repository: whittle-org/whittle (language: python)

Issue:
switch to uv for `release.yml`
see title


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0b78428..8712e55 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -5,22 +5,7 @@ permissions:
   contents: write
 jobs:
   test-code:
-    runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        # Run in all these versions of Python
-        python-version: ["3.9", "3.10", "3.11", "3.12"]
-    steps:
-      - uses: actions/checkout@v4
-      - name: Set up Python ${{ matrix.python-version }}
-        uses: actions/setup-python@v5
-        with:
-          python-version: ${{ matrix.python-version }}
-          cache: 'pip'
-      - name: Install
-        run: pip install ".[dev]"
-      - name: Run pytest
-        run: pytest -vvv
+    uses: whittle-org/whittle/.github/workflows/unit-test.yml
   test-docs:
     runs-on: ubuntu-latest
     steps:
@@ -58,7 +43,7 @@ jobs:
           changelog_increment_filename: changelog-increment.md
           # Add these to prevent direct push to main
           commit: true
-          push: true
+          push: false
           branch: ${{ env.BRANCH_NAME }}
       - run: |
           mkdir changelog-output


Test patch:
diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml
index 953aefc..cfdc2dd 100644
--- a/.github/workflows/unit-test.yml
+++ b/.github/workflows/unit-test.yml
@@ -3,6 +3,7 @@ concurrency:
   group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
   cancel-in-progress: true
 on:
+  workflow_call:
   workflow_dispatch:
   push:
     branches: [ main ]