1on: 2 pull_request: 3 branches: 4 - main 5name: docs 6jobs: 7 docs: 8 runs-on: ubuntu-latest 9 steps: 10 - name: Checkout 11 uses: actions/checkout@v4 12 - name: Setup Python 13 uses: actions/setup-python@v5 14 with: 15 python-version: "3.10" 16 - name: Install nox 17 run: | 18 python -m pip install --upgrade setuptools pip wheel 19 python -m pip install nox 20 - name: Run docs 21 run: | 22 nox -s docs 23 docfx: 24 runs-on: ubuntu-latest 25 steps: 26 - name: Checkout 27 uses: actions/checkout@v4 28 - name: Setup Python 29 uses: actions/setup-python@v5 30 with: 31 python-version: "3.10" 32 - name: Install nox 33 run: | 34 python -m pip install --upgrade setuptools pip wheel 35 python -m pip install nox 36 - name: Run docfx 37 run: | 38 nox -s docfx 39