Skip to content

Commit

Permalink
CI/check-docs: use explicit Python version
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
joverlee521 committed Feb 20, 2025
1 parent bc2910f commit 7f22d5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7f22d5d

Please sign in to comment.