feat: drop python 3.8 support #526
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 Docs | |
| on: [push, pull_request] | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.12"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v8.0.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: uv sync --group docs | |
| - name: Update docs | |
| run: | | |
| cd docs | |
| cp ../README.md index.md | |
| cp ../logo.png ./ | |
| cd .. | |
| uv run mkdocs build --clean | |
| if: success() | |
| - name: Deploy docs | |
| run: | | |
| uv run mkdocs gh-deploy --clean --force | |
| if: success() && github.ref == 'refs/heads/master' |