From 7f22d5d12c56ed8d25137aec034c92199b7e812b Mon Sep 17 00:00:00 2001 From: Jover Lee Date: Wed, 19 Feb 2025 16:11:46 -0800 Subject: [PATCH] CI/check-docs: use explicit Python version Use explicit Python version to match the Python version used in .readthedocs.yml since the different Python version leads to different versions of sphinx dependencies that can change the auto-generated docs. --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b1fd84e83..3db3d8eb7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -346,6 +346,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/setup-python@v5 + with: + # This should match the python version in .readthedocs.yml + python-version: '3.11' - uses: actions/checkout@v4