From 9769a4484df361ef6b69e24d4d86a5d962c7901e Mon Sep 17 00:00:00 2001 From: Martin Schmitt Date: Mon, 25 Sep 2023 09:17:25 +0200 Subject: [PATCH] New version of mypy action --- action.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 888cc4a..df09add 100644 --- a/action.yml +++ b/action.yml @@ -5,10 +5,6 @@ inputs: description: "Should the action fail if errors are found? [default: true]" required: false default: "true" - mypy_target: - description: "Source directory for mypy linting" - required: false - default: "src" runs: using: "composite" steps: @@ -40,9 +36,9 @@ runs: - name: mypy if: steps.changes.outputs.addedOrModifiedPython == 'true' - uses: tsuyoshicho/action-mypy@v3.11.0 + uses: tsuyoshicho/action-mypy@v3.13.0 with: - target: ${{ inputs.mypy_target }} + target: ${{ steps.changes.outputs.addedOrModifiedPython_files }} reporter: ${{ steps.reporter-check.outputs.reporter }} - name: pylint