@@ -13,11 +13,16 @@ jobs:
1313 steps :
1414 - uses : actions/checkout@v4
1515
16- - name : Install Python Dependencies
17- uses : HassanAbouelela/actions/ setup-python@setup-python_v1.4.2
16+ - name : Install uv
17+ uses : astral-sh/ setup-uv@v7
1818 with :
19- python_version : " 3.11"
20- install_args : " --extras async-rediscache --only main --only doc"
19+ enable-cache : true
20+ resolution-strategy : " lowest"
21+ cache-dependency-glob : " uv.lock"
22+ activate-environment : true
23+
24+ - name : Install dependencies
25+ run : uv sync --locked --group doc --extra async-rediscache
2126
2227 - name : Generate HTML Site
2328 run : sphinx-build -nW -j auto -b html docs docs/build
@@ -37,11 +42,16 @@ jobs:
3742 with :
3843 fetch-depth : 0 # We need to check out the entire repository to find all tags
3944
40- - name : Install Python Dependencies
41- uses : HassanAbouelela/actions/ setup-python@setup-python_v1.4.2
45+ - name : Install uv
46+ uses : astral-sh/ setup-uv@v7
4247 with :
43- python_version : " 3.11"
44- install_args : " --extras async-rediscache"
48+ enable-cache : true
49+ resolution-strategy : " lowest"
50+ cache-dependency-glob : " uv.lock"
51+ activate-environment : true
52+
53+ - name : Install dependencies
54+ run : uv sync --locked --group doc --extra async-rediscache
4555
4656 - name : Build All Doc Versions
4757 run : sphinx-multiversion docs docs/build -n -j auto
0 commit comments