Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Optimize lint workflow by skipping redundant uv sync checks

Magnus Müller7b0b92991c10
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 0e2a50134..c40046dee 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -36,7 +36,7 @@ jobs:
with:
enable-cache: true
- run: uv sync --dev --all-extras # install extras for examples to avoid pyright missing imports errors
- - run: uv run pre-commit run --all-files --show-diff-on-failure
+ - run: uv run --no-sync pre-commit run --all-files --show-diff-on-failure
lint-typecheck:
name: type-checker
@@ -47,4 +47,4 @@ jobs:
with:
enable-cache: true
- run: uv sync --dev --all-extras # install extras for examples to avoid pyright missing imports errors-
- - run: uv run pyright
+ - run: uv run --no-sync pyright