fix(computer-use): auto-restart cua-driver after it dies between tasks #126
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| ruff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Set up Python | |
| run: uv python install 3.12 | |
| - name: Install dependencies | |
| run: uv sync --locked --all-extras --dev | |
| - name: Run ruff | |
| run: | | |
| # ruff is installed into the uv-managed .venv by `uv sync`, not onto | |
| # the global PATH — activate it so the bare `ruff` call resolves. | |
| source .venv/bin/activate | |
| ruff check . |