feat(sync): workspace-level git sync foundation with changeset staging #8043
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 python | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| paths: | |
| - tracecat/** | |
| - packages/** | |
| - alembic/** | |
| - tests/** | |
| - pyproject.toml | |
| - uv.lock | |
| - .github/workflows/lint-python.yml | |
| pull_request: | |
| branches: [ "main", "staging" ] | |
| paths: | |
| - tracecat/** | |
| - packages/** | |
| - alembic/** | |
| - tests/** | |
| - pyproject.toml | |
| - uv.lock | |
| - .github/workflows/lint-python.yml | |
| permissions: | |
| contents: read | |
| jobs: | |
| ruff: | |
| runs-on: blacksmith-4vcpu-ubuntu-2204 | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - uses: astral-sh/ruff-action@4919ec5cf1f49eff0871dbcea0da843445b837e6 # v3 | |
| with: | |
| src: "tracecat/ tests/ packages/ alembic/" | |
| version: latest | |
| args: check --no-fix | |
| - uses: astral-sh/ruff-action@4919ec5cf1f49eff0871dbcea0da843445b837e6 # v3 | |
| with: | |
| src: "tracecat/ tests/ packages/ alembic/" | |
| version: latest | |
| args: format --diff | |
| pyright: | |
| runs-on: blacksmith-4vcpu-ubuntu-2204 | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: | | |
| pyproject.toml | |
| uv.lock | |
| - name: Install dependencies | |
| run: uv sync --no-install-project --group lint | |
| - name: Run basedpyright | |
| run: uv run --no-sync basedpyright --warnings --threads 4 |