Files
g0v0-server/.github/workflows/pyright.yml
dependabot[bot] 6a5ad0f57c chore(deps): bump astral-sh/setup-uv from 6 to 7 (#70)
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 6 to 7.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](https://github.com/astral-sh/setup-uv/compare/v6...v7)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-02 10:19:33 +08:00

39 lines
704 B
YAML

name: Pyright Lint
on:
push:
branches:
- main
pull_request:
paths:
- "app/**"
- "main.py"
- ".github/workflows/pyright.yml"
- "pyproject.toml"
- "uv.lock"
jobs:
pyright:
name: Pyright Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.13"
- run: |
uv sync --all-extras --locked
shell: bash
- run: |
echo "$(dirname $(uv python find))" >> $GITHUB_PATH
shell: bash
- name: Run Pyright
uses: jakebailey/pyright-action@v2
with:
pylance-version: latest-release