ci: upgrade artifact actions to v4 #4765
Workflow file for this run
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@v3 | |
with: | |
name: docs | |
path: docs/_build | |
- name: Check links | |
run: nox --force-color --session=linkcheck |