Files
g0v0-server/.github/workflows/pyright.yml
dependabot[bot] 42f1d53d3e chore(deps): bump actions/checkout from 5 to 6 (#84)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  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-23 18:06:54 +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@v6
- 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