There was an error while loading. Please reload this page.
1 parent 01af085 commit f85149eCopy full SHA for f85149e
1 file changed
.github/workflows/document.yaml
@@ -35,27 +35,16 @@ jobs:
35
with:
36
python-version: 3.12
37
38
- - name: Cache virtual environment
39
- id: cached-virtualenv
40
- uses: actions/cache@v4
41
- with:
42
- path: .venv
43
- key: ${{ runner.os }}-venv-${{ hashFiles('**/uv.lock') }}
+ - name: Install uv
+ uses: astral-sh/setup-uv@v6
44
45
- name: Install dependencies
46
- if: steps.cached-virtualenv.outputs.cache-hit != 'true'
47
- run: |
48
- python -m venv .venv
49
- source .venv/bin/activate
50
- pip install --upgrade pip
51
- pip install uv
52
- uv sync
+ run: uv sync --dev
53
54
- name: Build documentation
55
run: |
56
57
cd docs
58
- python build.py
+ uv run python build.py
59
60
- name: Redirect to the en documentation
61
0 commit comments