Skip to content

Commit

Permalink
ci: use venv with deps for pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
JJTech0130 authored May 19, 2024
1 parent f2790c0 commit 4d40ed0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pyright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
cache: 'pip'

- run: |
python -m venv .venv
source .venv/bin/activate
pip install -e '.[test,cli]'
- run: echo "$PWD/.venv/bin" >> $GITHUB_PATH
- uses: jakebailey/pyright-action@v2

0 comments on commit 4d40ed0

Please sign in to comment.