build(deps): bump docker/metadata-action from 115662203e5f4c9b240a57397f721baaab82a488 to 359e915ab3220d88514ed693793a5cc795192aa6 in the github-actions group #1707
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: pull_requests | |
on: | |
pull_request: | |
branches: main | |
jobs: | |
docs-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
architecture: x64 | |
- name: Cache python modules | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pkg-deps-${{ matrix.python }}-${{ hashFiles('pyproject.toml') }}-docs | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e .[tf,viz,html] --upgrade | |
pip install -e .[docs] | |
- name: Build documentation | |
run: cd docs && bash build.sh | |
- name: Documentation sanity check | |
run: test -e docs/build/index.html || exit |