Upgrade setup-python GH Action to avoid deprecation warning #175
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 documentation | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build-html-docs: | |
name: 'Build HTML docs' | |
runs-on: 'ubuntu-24.04' | |
defaults: | |
run: | |
working-directory: './docs' | |
steps: | |
- name: Check out Forest code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install documentation build dependencies | |
run: pip install -r requirements.txt | |
- name: Build HTML docs | |
run: make html SPHINXOPTS="-W" |