From cce1f88a45dd9d1dd4ac7e5781647cdee8149b3d Mon Sep 17 00:00:00 2001 From: 2GT-Rich <107219997+2GT-Rich@users.noreply.github.com> Date: Wed, 2 Sep 2026 18:49:47 -0700 Subject: [PATCH] ci(docs): point the pip cache at the docs requirements file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default cache glob matches requirements.txt or pyproject.toml, and the documentation toolchain is deliberately kept separate from the application's — so setup-python found nothing and failed the job before it could build. Co-Authored-By: Claude Opus 5 --- .github/workflows/docs.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index eb3e371..bbb3233 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -42,6 +42,10 @@ jobs: with: python-version: '3.12' cache: pip + # The default cache glob only looks for requirements.txt or + # pyproject.toml, neither of which exists here — the docs toolchain is + # kept separate from the application's. + cache-dependency-path: requirements-docs.txt - run: pip install -r requirements-docs.txt # --strict turns warnings into errors, which is the point of running this # on a pull request at all: a link to a page that no longer exists should @@ -60,6 +64,10 @@ jobs: with: python-version: '3.12' cache: pip + # The default cache glob only looks for requirements.txt or + # pyproject.toml, neither of which exists here — the docs toolchain is + # kept separate from the application's. + cache-dependency-path: requirements-docs.txt - run: pip install -r requirements-docs.txt - name: Derive version from the shipped package