Davide Pesavento | 64fa067 | 2023-01-15 23:02:24 -0500 | [diff] [blame] | 1 | name: Check links |
| 2 | on: |
| 3 | schedule: |
| 4 | - cron: '0 12 * * 3' |
| 5 | workflow_dispatch: |
| 6 | |
Davide Pesavento | c0bab4e | 2023-02-03 18:20:25 -0500 | [diff] [blame] | 7 | permissions: {} |
Davide Pesavento | 64fa067 | 2023-01-15 23:02:24 -0500 | [diff] [blame] | 8 | |
Davide Pesavento | e857469 | 2023-02-16 16:20:22 -0500 | [diff] [blame] | 9 | env: |
| 10 | SPHINXOPTS: --color |
| 11 | |
Davide Pesavento | 64fa067 | 2023-01-15 23:02:24 -0500 | [diff] [blame] | 12 | jobs: |
| 13 | check: |
| 14 | runs-on: ubuntu-latest |
| 15 | steps: |
Davide Pesavento | e857469 | 2023-02-16 16:20:22 -0500 | [diff] [blame] | 16 | - name: Checkout repository |
Davide Pesavento | 64fa067 | 2023-01-15 23:02:24 -0500 | [diff] [blame] | 17 | uses: actions/checkout@v3 |
| 18 | - name: Set up Python |
| 19 | uses: actions/setup-python@v4 |
| 20 | with: |
Davide Pesavento | c73673d | 2023-02-16 16:34:11 -0500 | [diff] [blame] | 21 | python-version: '3.11' |
Davide Pesavento | 64fa067 | 2023-01-15 23:02:24 -0500 | [diff] [blame] | 22 | - name: Install dependencies |
| 23 | run: | |
| 24 | python -m pip install --upgrade pip |
Davide Pesavento | c73673d | 2023-02-16 16:34:11 -0500 | [diff] [blame] | 25 | python -m pip install -r requirements.txt |
Davide Pesavento | 64fa067 | 2023-01-15 23:02:24 -0500 | [diff] [blame] | 26 | - name: Check external links |
| 27 | run: make linkcheck |