Skip to content

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

remove matrix strategy and split lint tasks into individual jobs

dha-aae1fc0c533747
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index ebd3e73ff..db73dc394 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -5,21 +5,34 @@ on:
workflow_dispatch:
jobs:
- lint:
- name: ${{ matrix.task }}
+ lint-syntax:
+ name: lint/Syntax
runs-on: ubuntu-latest
- strategy:
- matrix:
- task: [syntax, style, typecheck]
+ steps:
+ - uses: actions/checkout@v4
+ - name: Setup uv and cache packages
+ uses: astral-sh/setup-uv@v5
+ - run: uv run ruff check --no-fix --select PLE
+
+ lint-style:
+ name: lint/Style
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - name: Setup uv and cache packages
+ uses: astral-sh/setup-uv@v5
+ - run: uv run ruff format
+ - run: uv run pre-commit run --all-files
+ lint-typecheck:
+ name: lint/pyright
+ runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup uv and cache packages
uses: astral-sh/setup-uv@v5
- - name: Run lint task
- run: |
- case "${{ matrix.task }}" in
- syntax) uv run ruff check --no-fix --select PLE ;;
- style) uv run ruff format && uv run pre-commit run --all-files ;;
- typecheck) uv run pyright ;;
- esac
+ - run: uv run pyright
+
+
+
+