Bump actions/upload-artifact from 3 to 4 #4690
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@v3 | |
- 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@v4 | |
with: | |
name: docs | |
path: docs/_build | |
- name: Check links | |
run: nox --force-color --session=linkcheck |