From c5a617e841a827aaee28a6839ed88ecbebbb9dd5 Mon Sep 17 00:00:00 2001 From: Riccardo Schirone Date: Mon, 26 Jan 2026 10:46:04 +0100 Subject: [PATCH] ci: add uv setup to pre-commit workflow The ty hook requires uv to run `uv run ty check src/`, but the workflow was missing the uv installation step, causing hook failures with exit code 127 (uv: command not found). Co-Authored-By: Claude Opus 4.5 --- .github/workflows/pre-commit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 1e545573..8163bcee 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -16,4 +16,5 @@ jobs: - uses: actions/setup-python@v6 with: python-version: '3.12' + - uses: astral-sh/setup-uv@v6 - uses: pre-commit/action@v3.0.1 \ No newline at end of file