Skip to content

Commit b47928a

Browse files
authored
Merge pull request #21 from id8-engineering/pyright
chore(CI): Add pyright
2 parents 8e7b1ff + cf907ff commit b47928a

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/pyright.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: pyright
2+
3+
on:
4+
pull_request:
5+
branches: ["main"]
6+
7+
jobs:
8+
type-check:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
23+
- name: Install uv
24+
uses: astral-sh/setup-uv@2ddd2b9cb38ad8efd50337e8ab201519a34c9f24 # v7.1.1
25+
26+
- name: Run Pyright
27+
run: uv run pyright
28+

0 commit comments

Comments
 (0)