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 d08837a commit 83085b5Copy full SHA for 83085b5
analyze-project/action.yml
@@ -59,7 +59,6 @@ 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
@@ -73,9 +72,8 @@ runs:
73
72
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)
76
- EOF
77
working-directory: ${{ inputs.project-directory }}
78
- shell: bash
+ shell: poetry run python {0}
79
- name: Echo check_tools outputs
80
81
echo "mypy installed: ${{ steps.check_tools.outputs.mypy }}"
0 commit comments