Skip to content

Commit

Permalink
Update Pyright config
Browse files Browse the repository at this point in the history
  • Loading branch information
geordi committed Apr 3, 2024
1 parent dfd3b00 commit 49bda5c
Showing 1 changed file with 23 additions and 11 deletions.
34 changes: 23 additions & 11 deletions .github/workflows/pyright.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
name: Pyright
on: [pull_request]
jobs:
pyright:
name: pyright
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: jakebailey/pyright-action@v2
with:
version: 1.1.356
lib: true

- run: |
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
#- uses: actions/checkout@v4
#- uses: actions/setup-python@v5
# with:
# python-version: '3.12'
# cache: 'pip'
#- run: |
# python -m venv .venv
# source .venv/bin/activate
# pip install -r requirements.txt

- run: echo "$PWD/.venv/bin" >> $GITHUB_PATH
#- run: echo "$PWD/.venv/bin" >> $GITHUB_PATH

- uses: jakebailey/pyright-action@v2
#- uses: jakebailey/pyright-action@v2

0 comments on commit 49bda5c

Please sign in to comment.