Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion analyze-project/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ runs:
- name: Check for mypy and pyright installation
id: check_tools
run: |
poetry run python - <<EOF
import os
from importlib.metadata import version, PackageNotFoundError

Expand All @@ -72,7 +73,9 @@ runs:
with open(os.environ["GITHUB_OUTPUT"], "a") as output:
print(f"mypy={is_installed('mypy')}", file=output)
print(f"pyright={is_installed('pyright')}", file=output)
shell: python
EOF
working-directory: ${{ inputs.project-directory }}
shell: bash
- name: Echo check_tools outputs
run: |
echo "mypy installed: ${{ steps.check_tools.outputs.mypy }}"
Expand Down
Loading