File tree Expand file tree Collapse file tree 1 file changed +8
-17
lines changed
Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change 66 extra_config :
77 type : string
88 required : false
9- default : ' '
10- description : ' Extra configuration for mypy'
9+ default : " "
10+ description : " Extra configuration for mypy"
1111
1212jobs :
1313 static-type-check :
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v4
17- - uses : actions/setup-python@v3
18- with :
19- python-version : ' 3.12'
20- - run : pip install mypy==1.10.0
21- - name : Get Python changed files
22- id : changed-py-files
23- uses :
tj-actions/[email protected] 24- with :
25- files : |
26- *.py
27- **/*.py
28- - name : Run if any of the listed files above is changed
29- if : steps.changed-py-files.outputs.any_changed == 'true'
30- run : mypy ${{ steps.changed-py-files.outputs.all_changed_files }} --ignore-missing-imports ${{ inputs.extra_config }}
16+ - uses : actions/checkout@v4
17+ - uses : actions/setup-python@v5
18+ with :
19+ python-version : " 3.12"
20+ - run : pip install mypy==1.13.0
21+ - run : mypy . --ignore-missing-imports ${{ inputs.extra_config }}
You can’t perform that action at this time.
0 commit comments