File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -57,19 +57,19 @@ jobs:
5757 uses : actions/checkout@v5
5858
5959 - name : Set up Python
60+ shell : bash
6061 run : |
6162 apt update
62- apt install --reinstall ca-certificates
63- apt install lsb-release xvfb software-properties-common make -y
64- add-apt-repository ppa:deadsnakes/ppa -y
65- apt install -y python${{ env.MAIN_PYTHON_VERSION }} python${{ env.MAIN_PYTHON_VERSION }}-venv
66- python${{ env.MAIN_PYTHON_VERSION }} -m venv /env
67-
63+ apt install lsb-release xvfb git curl make -y
64+ curl -LsSf https://astral.sh/uv/install.sh | sh
65+ export PATH="$HOME/.local/bin:$PATH"
66+ uv python install python${{ env.MAIN_PYTHON_VERSION }}
67+ uv venv /env
6868 - name : Install Python requirements
6969 run : |
7070 . /env/bin/activate
71- pip install --upgrade pip
72- pip install -r requirements/requirements_doc.txt
71+ uv pip install --upgrade pip
72+ uv pip install -r requirements/requirements_doc.txt
7373
7474 - name : Build docs
7575 env :
Original file line number Diff line number Diff line change @@ -80,19 +80,19 @@ jobs:
8080 uses : actions/checkout@v5
8181
8282 - name : Set up Python
83+ shell : bash
8384 run : |
8485 apt update
85- apt install --reinstall ca-certificates
86- apt install lsb-release xvfb software-properties-common make -y
87- add-apt-repository ppa:deadsnakes/ppa -y
88- apt install -y python${{ env.MAIN_PYTHON_VERSION }} python${{ env.MAIN_PYTHON_VERSION }}-venv
89- python${{ env.MAIN_PYTHON_VERSION }} -m venv /env
90-
86+ apt install lsb-release xvfb git curl make -y
87+ curl -LsSf https://astral.sh/uv/install.sh | sh
88+ export PATH="$HOME/.local/bin:$PATH"
89+ uv python install python${{ env.MAIN_PYTHON_VERSION }}
90+ uv venv /env
9191 - name : Install Python requirements
9292 run : |
9393 . /env/bin/activate
94- pip install --upgrade pip
95- pip install -r requirements/requirements_doc.txt
94+ uv pip install --upgrade pip
95+ uv pip install -r requirements/requirements_doc.txt
9696
9797 - name : Build docs
9898 env :
You can’t perform that action at this time.
0 commit comments