Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions .github/workflows/type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,11 @@ jobs:
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v5.0.0
- name: 🏗 Set up Poetry
run: pipx install poetry
- name: 🏗 Set up Python ${{ env.DEFAULT_PYTHON }}
id: python
uses: actions/setup-python@v6.0.0
- name: 🏗 Set up UV
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ env.DEFAULT_PYTHON }}
cache: "poetry"
- name: 🏗 Install workflow dependencies
run: |
poetry config virtualenvs.create true
poetry config virtualenvs.in-project true
- name: 🏗 Install dependencies
run: poetry install --no-interaction
run: uv sync --frozen --no-progress
- name: 🚀 Run mypy
run: poetry run mypy PyViCare tests
run: uv tool run mypy PyViCare/ tests/
Loading
Loading