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
4 changes: 1 addition & 3 deletions analyze-project/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ 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 @@ -73,9 +72,8 @@ 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)
EOF
working-directory: ${{ inputs.project-directory }}
shell: bash
shell: poetry run python {0}
- name: Echo check_tools outputs
run: |
echo "mypy installed: ${{ steps.check_tools.outputs.mypy }}"
Expand Down
Loading