Skip to content

build(deps): bump actions/checkout from 5 to 6 in the actions group #1081

build(deps): bump actions/checkout from 5 to 6 in the actions group

build(deps): bump actions/checkout from 5 to 6 in the actions group #1081

Workflow file for this run

name: Build and preview docs
on:
push:
branches-ignore:
- 'main'
tags-ignore:
- v*
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency: preview-${{ github.ref }}
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -e .[docs,viz]
- name: Test build docs
run: |
BUILDDIR=_build/main make -C docs/ local
- uses: rossjrw/pr-preview-action@v1
with:
source-dir: docs/_build/main
if: github.event_name == 'pull_request'