fix: 🐛 typing with py310 Union | #229
Workflow file for this run
This file contains 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: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache-dependency-path: pyproject.toml | |
- name: Install Flit | |
run: | | |
set -o pipefail | |
pip install pip==22.2.2 | |
pip install flit wheel | |
- name: Install dependencies | |
run: | | |
flit install --deps=develop --only-deps | |
- name: Build docs | |
run: | | |
mkdocs build --clean --strict |