⬆️ deps: add pyright in dev deps #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Static Check | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
code-style-check: | |
runs-on: ubuntu-latest | |
name: CodeStyle Check | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install python 📦 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Run pre-commit ✅ | |
uses: pre-commit/[email protected] | |
type-check: | |
runs-on: ubuntu-latest | |
name: Type Check | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install the latest version of uv 📦 | |
uses: astral-sh/setup-uv@v2 | |
- name: Install python 📦 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies 📦 | |
run: uv sync --all-extras --dev | |
- name: Type Check 📦 | |
run: uv run pyright . |