name: Check links | |
on: | |
schedule: | |
- cron: '0 12 * * 3' | |
workflow_dispatch: | |
permissions: {} | |
env: | |
SPHINXOPTS: --color | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements.txt | |
- name: Check external links | |
run: make linkcheck |