mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-04-28 03:20:01 +00:00
Update tests.yml
This commit is contained in:
parent
46a9c14536
commit
de970deb5d
1 changed files with 8 additions and 8 deletions
16
.github/workflows/tests.yml
vendored
16
.github/workflows/tests.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue