fix: pin python version to 3.13 #1458
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sphinx | |
on: | |
pull_request: | |
push: | |
jobs: | |
linkcheck: | |
name: Link Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.7' | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements.txt | |
- name: Check for broken links | |
run: sphinx-build -q --color -b linkcheck source build | |
build: | |
name: Build Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Set up Graphviz | |
run: sudo apt update && sudo apt install -y graphviz | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.7' | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements.txt | |
- name: Load problem matcher | |
uses: ammaraskar/sphinx-problem-matcher@master | |
- name: Check for build issues | |
run: sphinx-build -W --keep-going -b dummy source build |