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 5049c1c commit 36f9be5Copy full SHA for 36f9be5
analyze-project/action.yml
@@ -59,6 +59,7 @@ runs:
59
- name: Check for mypy and pyright installation
60
id: check_tools
61
run: |
62
+ poetry run python - <<EOF
63
import os
64
from importlib.metadata import version, PackageNotFoundError
65
@@ -72,7 +73,9 @@ runs:
72
73
with open(os.environ["GITHUB_OUTPUT"], "a") as output:
74
print(f"mypy={is_installed('mypy')}", file=output)
75
print(f"pyright={is_installed('pyright')}", file=output)
- shell: python
76
+ EOF
77
+ working-directory: ${{ inputs.project-directory }}
78
+ shell: bash
79
- name: Echo check_tools outputs
80
81
echo "mypy installed: ${{ steps.check_tools.outputs.mypy }}"
0 commit comments