Skip to content
Compare
Choose a tag to compare
@jakebailey jakebailey released this 11 Apr 05:15
· 19 commits to main since this release

This version adds support for version: PATH; this configures pyright-action to use pyright from $PATH, which may be more convenient if you are already installing pyright via something like the PyPI package. For example:

- run: |
    python -m venv .venv
    source .venv/bin/activate
    pip install -r dev-requirements.txt # includes pyright
- run: echo "$PWD/.venv/bin" >> $GITHUB_PATH

- uses: jakebailey/pyright-action@v2
  with:
    version: PATH