File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,13 +24,18 @@ jobs:
2424
2525 steps :
2626 - uses : actions/checkout@v5
27- - uses : astral-sh/setup-uv@v6
27+
28+ - name : Setup Python
29+ uses : astral-sh/setup-uv@v7
30+ with :
31+ python-version : " 3.10"
2832
2933 - name : Install Dependencies
30- run : |
31- uv venv
32- source .venv/bin/activate
33- uv pip install . --group docs
34+ run : uv sync --group docs
35+
36+ - name : Add venv to PATH
37+ run : echo "${{ github.workspace }}/.venv/bin" >> $GITHUB_PATH
38+ # NOTE: Otherwise the next action nukes the path when it starts
3439
3540 - name : Ape Docs
3641 uses : apeworx/sphinx-ape@main
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ lint = [
6161 " mdformat-pyproject>=0.0.2" , # Allows configuring in pyproject.toml
6262]
6363docs = [
64- " sphinx-ape== 0.1.0 " ,
64+ " sphinx-ape>= 0.1.2,<2 " ,
6565]
6666dev = [
6767 " commitlint" , # Check for conventionalcommits
You can’t perform that action at this time.
0 commit comments