From 83df8bec56f5459fbdf0c92cc5914d05d78242ff Mon Sep 17 00:00:00 2001
From: James Briggs <35938317+jamescalam@users.noreply.github.com>
Date: Fri, 14 Feb 2025 16:32:33 +0400
Subject: [PATCH] fix: python version

---
 .github/workflows/docs.yml | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index bb8d3232..4bddb9cb 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -21,18 +21,17 @@ jobs:
         - "3.11"
     steps:
     - uses: actions/checkout@v4
+    - name: Set up Python 3.11
+      uses: actions/setup-python@v4
+      with:
+        python-version: ${{ matrix.python-version }}
+        cache: pydocs
     - name: Install uv
       run: |
         curl -LsSf https://astral.sh/uv/install.sh | sh
-    # - name: Set up Python ${{ matrix.python-version }}
-    #   uses: actions/setup-python@v4
-    #   with:
-    #     python-version: ${{ matrix.python-version }}
-    #     cache: uv
-    - name: Set up Python ${{ matrix.python-version }}
-      run: uv venv --python ${{ matrix.python-version }}
     - name: Install dependencies
-      run: uv pip install .[docs]
+      run: |
+        uv pip install .[docs]
 
     - name: Build docs
       run: |
-- 
GitLab