-
-
Notifications
You must be signed in to change notification settings - Fork 12
37 lines (30 loc) · 718 Bytes
/
pyright.yml
File metadata and controls
37 lines (30 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Pyright Lint
on:
push:
branches:
- master
pull_request:
jobs:
pyright:
name: Pyright Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
name: Setup UV
with:
enable-cache: true
- name: "Set up Python"
uses: actions/setup-python@v6
with:
python-version-file: ".python-version"
- run: uv sync
shell: bash
- run: |
echo "$(dirname $(uv python find))" >> $GITHUB_PATH
uv pip install .
shell: bash
- name: Run Pyright
uses: jakebailey/pyright-action@v3
with:
pylance-version: latest-release