[appkit plugin] [5/x] Add chat server plugin to @databricks/appkit-agent #591
Workflow file for this run
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: Linting | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| env: | |
| UV_VERSION: "0.9.11" | |
| PYTHON_VERSION: "3.12" | |
| jobs: | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: ${{ env.UV_VERSION }} | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - name: Run type checking for ${{ matrix.project.dir }} | |
| working-directory: ${{ matrix.project.dir }} | |
| run: | | |
| uv run --exact ${{ matrix.project.ty_flags }} ruff format --check --diff | |
| lint: | |
| name: ruff check for ${{ matrix.project.dir }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| project: | |
| - dir: "." | |
| - dir: "databricks_mcp" | |
| - dir: "integrations/dspy" | |
| - dir: "integrations/llamaindex" | |
| - dir: "integrations/openai" | |
| - dir: "integrations/langchain" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: ${{ env.UV_VERSION }} | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - name: Run type checking for ${{ matrix.project.dir }} | |
| working-directory: ${{ matrix.project.dir }} | |
| run: | | |
| uv run --exact --all-extras ${{ matrix.project.ty_flags }} ruff check --output-format github | |
| ty: | |
| name: typechecking for ${{ matrix.project.dir }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| project: | |
| - dir: "." | |
| - dir: "databricks_mcp" | |
| - dir: "integrations/dspy" | |
| - dir: "integrations/llamaindex" | |
| - dir: "integrations/openai" | |
| - dir: "integrations/langchain" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: ${{ env.UV_VERSION }} | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - name: Run type checking for ${{ matrix.project.dir }} | |
| working-directory: ${{ matrix.project.dir }} | |
| run: | | |
| uv run --exact --all-extras ${{ matrix.project.ty_flags }} ty check --output-format github |