Skip to content

Commit ac0300d

Browse files
committed
feat: add new workflow to run pyright type check
1 parent 293022e commit ac0300d

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/pyright.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: 📐 Pyright type check
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
pyright:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v6
14+
15+
- name: Install uv and create venv
16+
run: |
17+
pipx install uv
18+
uv venv .venv
19+
20+
- name: Install dependencies
21+
run: |
22+
source .venv/bin/activate
23+
uv pip install -e ".[process,index,rag,api,cpu,dev,websearch]"
24+
25+
- name: Run Pyright
26+
continue-on-error: true
27+
run: |
28+
source .venv/bin/activate
29+
pyright

0 commit comments

Comments
 (0)