fix: Rename from valid_model to allowed_model #1518
Workflow file for this run
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: Docs | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: build | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| cache: 'pip' | |
| - name: Cache dependencies | |
| uses: actions/[email protected] | |
| with: | |
| path: ~/.cache/pip | |
| key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.in') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pip- | |
| - run: python -m pip install -r docs/requirements.txt | |
| - name: Build docs | |
| run: | | |
| cd docs | |
| make html | |
| spelling: | |
| runs-on: ubuntu-latest | |
| name: spelling | |
| needs: build | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| cache: 'pip' | |
| - name: Cache dependencies | |
| uses: actions/[email protected] | |
| with: | |
| path: ~/.cache/pip | |
| key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.in') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pip- | |
| - run: python -m pip install -r docs/requirements.txt | |
| - name: Check spelling | |
| run: | | |
| cd docs | |
| make spelling | |