Bump actions/checkout from 3 to 4 #4695
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: Check documentation | |
on: [push, pull_request] | |
jobs: | |
docs: | |
name: Build documentation & check links | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
python-version: "3.8" | |
- run: | | |
pip install --constraint=.github/workflows/constraints.txt pip | |
pip install --constraint=.github/workflows/constraints.txt nox | |
- name: Build documentation | |
run: nox --force-color --session=docs | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: docs | |
path: docs/_build | |
- name: Check links | |
run: nox --force-color --session=linkcheck |