Skip to content

CI: use Python 3.10 as default version #224

CI: use Python 3.10 as default version

CI: use Python 3.10 as default version #224

Workflow file for this run

name: Linkcheck
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
env:
sphinx-version: '5.*'
python-version: '3.10'
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ env.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.python-version }}
- name: Set up Sphinx ${{ env.sphinx-version }}
run: |
python -V
python -m pip install --upgrade pip
pip install "sphinx==${{ env.sphinx-version }}"
pip install "jinja2<3.1"
- name: Test for broken links
run: |
python -m sphinx docs/ docs/_build/ -b linkcheck -W -C