feat(ci): migrate to uv in CI (#3038)

* feat(ci): migrate to `uv` in CI

* feat(ci): drop upgrade strategy

* feat(ci): use `uv` in docs workflow

* fix(ci/doc): update sphinx build cmd

* fix(ci/doc): specify python path

* (experimental) simplify

* remove venv

* Revert line wrap change for doc.yml

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
This commit is contained in:
Saurav MaheshkarandBrent Yi authored and GitHub committed 2024-04-08 15:46:00 -07:00
1 parent 2b9171528b
commit d1fc2ee338
3 files changed
+9 -5

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ def run_github_actions_file(filename: str, continue_on_fail: bool = False):
curr_command = step["run"].replace("\n", ";").replace("\\", "")
if curr_command.startswith("ruff"):
if "ruff check" in curr_command:
curr_command = f"{curr_command} --fix"
curr_command = curr_command.replace("ruff check", "ruff check --fix")
curr_command = curr_command.replace(" --check", "")
curr_command = curr_command.replace(" --diff", "")