link check #324
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: link check | |
on: | |
schedule: | |
- cron: "0 8 * * *" | |
jobs: | |
linkcheck: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install system dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y graphviz | |
- name: Install Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
poetry --version | |
- name: Install dependencies | |
run: poetry install --no-interaction | |
- name: Check links in documentation | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SPHINXOPTS: "-W --keep-going" | |
run: poetry run make -C docs linkcheck |