Re-add dependency pin until FastCS release made #59
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: sphinx | |
| on: [push, pull_request, workflow_call] | |
| jobs: | |
| docs: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: "3.12" | |
| - name: install requirements | |
| run: uv sync --extra doc | |
| - name: Sphinx build | |
| run: uv run sphinx-build -E -a -W --keep-going doc _build | |
| - name: run spellcheck | |
| run: uv run sphinx-build -E -a -W --keep-going -b spelling doc _build | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: documentation | |
| path: | | |
| _build | |
| if-no-files-found: error | |
| retention-days: 7 | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} | |
| with: | |
| publish_branch: gh-pages | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: _build/ | |
| force_orphan: true |