We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fffe019 commit 5671259Copy full SHA for 5671259
analyze-project/action.yml
@@ -58,9 +58,15 @@ runs:
58
working-directory: ${{ inputs.project-directory }}
59
shell: bash
60
- name: Add virtualenv to the path for pyright-action
61
- run: echo "$(poetry env info --path)/bin" >> $GITHUB_PATH
62
- working-directory: ${{ inputs.project-directory }}
63
+ run: |
+ VENV_PATH="$(poetry env info --path)"
64
+ if [[ "$RUNNER_OS" == "Windows" ]]; then
65
+ echo "$VENV_PATH/Scripts" >> $GITHUB_PATH
66
+ else
67
+ echo "$VENV_PATH/bin" >> $GITHUB_PATH
68
+ fi
69
+ working-directory: ${{ inputs.project-directory }}
70
- name: Pyright static analysis
71
uses: jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe # v2.3.2
72
with:
0 commit comments