build(deps): bump actions/checkout from 5 to 6 in the actions group #1081
This file contains hidden or 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: 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' |