Bump pyright from 1.1.399 to 1.1.400 #318
This file contains hidden or 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: Lint | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
- "3.13" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v6 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache-dependency-glob: "**/pyproject.toml" | |
- name: Install dependencies | |
run: uv sync --all-extras --dev | |
- name: Add venv to PATH | |
run: echo "$PWD/.venv/bin" >> $GITHUB_PATH | |
- name: Run ruff linter | |
uses: astral-sh/ruff-action@v3 | |
with: | |
args: check | |
- name: Run ruff formatter | |
uses: astral-sh/ruff-action@v3 | |
with: | |
args: format --check | |
- name: Run pyright | |
uses: jakebailey/pyright-action@v2 |