Skip to content

Commit 367caae

Browse files
committed
Pyright setup on CI
1 parent 5d80c1a commit 367caae

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/pyright.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Pyright
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
pyright:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
pull-requests: read
13+
name: "Pyright"
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: '3.11'
19+
- name: Python version
20+
run: python --version
21+
- name: PDM installation
22+
run: pip install --user pdm
23+
- name: Install dependencies
24+
run: pdm install
25+
- name: Install devel dependencies
26+
run: pdm install --group default,dev,evaluation
27+
- uses: jakebailey/pyright-action@v2
28+
with:
29+
version: 1.1.311
30+
working-directory:
31+
src

0 commit comments

Comments
 (0)