From 8046588f29d80b055dbb34b1ae163bb0a68d8997 Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Fri, 31 Oct 2025 07:02:26 -0700 Subject: [PATCH] fix: install uv for mypy section in pre-commit workflow The mypy section runs after pre-commit and needs uv to run 'uv sync' and 'uv run mypy'. Add setup-uv step before the mypy configuration. --- .github/workflows/pre-commit.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 1e0a6284b..6b03eb778 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -127,6 +127,12 @@ jobs: exit 1 fi + - name: Install uv for mypy + uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1 + with: + python-version: "3.12" + version: 0.7.6 + - name: Configure client installation id: client-config uses: ./.github/actions/install-llama-stack-client