Skip to content

Commit

Permalink
Add pyright check to the type check
Browse files Browse the repository at this point in the history
  • Loading branch information
0x24a committed Oct 7, 2024
1 parent 8a40975 commit b5ee01d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pyright-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Pyright Type Check

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyright
- name: Run pyright
run: pyright .

0 comments on commit b5ee01d

Please sign in to comment.