Spaces:
Paused
Paused
Mirrowel commited on
Commit ·
91acfb4
1
Parent(s): 27ef486
ci: mirrobot-agent hotfix
Browse files
.github/actions/bot-setup/action.yml
CHANGED
|
@@ -161,15 +161,19 @@ runs:
|
|
| 161 |
enable-cache: true
|
| 162 |
cache-dependency-glob: "requirements.txt"
|
| 163 |
|
| 164 |
-
- name: Set up Python
|
| 165 |
if: steps.check_requirements_file.outputs.exists == 'true'
|
| 166 |
shell: bash
|
| 167 |
-
run:
|
|
|
|
|
|
|
| 168 |
|
| 169 |
- name: Install dependencies
|
| 170 |
if: steps.check_requirements_file.outputs.exists == 'true'
|
| 171 |
shell: bash
|
| 172 |
-
run:
|
|
|
|
|
|
|
| 173 |
|
| 174 |
- name: Install opencode
|
| 175 |
shell: bash
|
|
|
|
| 161 |
enable-cache: true
|
| 162 |
cache-dependency-glob: "requirements.txt"
|
| 163 |
|
| 164 |
+
- name: Set up Python with uv
|
| 165 |
if: steps.check_requirements_file.outputs.exists == 'true'
|
| 166 |
shell: bash
|
| 167 |
+
run: |
|
| 168 |
+
uv python install 3.12
|
| 169 |
+
uv venv --python 3.12
|
| 170 |
|
| 171 |
- name: Install dependencies
|
| 172 |
if: steps.check_requirements_file.outputs.exists == 'true'
|
| 173 |
shell: bash
|
| 174 |
+
run: |
|
| 175 |
+
source .venv/bin/activate
|
| 176 |
+
uv pip install -r requirements.txt
|
| 177 |
|
| 178 |
- name: Install opencode
|
| 179 |
shell: bash
|