From de970deb5db41603000cf08ea69041378cd6c158 Mon Sep 17 00:00:00 2001 From: Ali Khokhar Date: Sun, 15 Feb 2026 09:24:33 -0800 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3c0769c..8d70d4d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,14 +16,7 @@ jobs: with: ref: ${{ github.head_ref || github.ref_name }} fetch-depth: 1 - - - name: Install uv - uses: astral-sh/setup-uv@v7 - with: - version: "latest" - enable-cache: true - cache-python: true - + - name: "Fail on type: ignore (no suppressions allowed)" run: | if grep -rE '# type: ignore|# ty: ignore' --include='*.py' . --exclude-dir=.venv --exclude-dir=.git; then @@ -32,6 +25,13 @@ jobs: fi exit 0 + - name: Install uv + uses: astral-sh/setup-uv@v7 + with: + version: "latest" + enable-cache: true + cache-python: true + - name: Type check run: uv run ty check