mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-07-03 14:05:26 +02:00
Update tests.yml
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user