@@ -86,23 +86,48 @@ runs:
86
86
python-version : ${{ inputs.python-version }}
87
87
architecture : x64
88
88
cache : pip
89
-
89
+
90
90
- run : python --version
91
91
shell : bash
92
92
93
- - name : Is Windows
93
+ - name : Windows install dependencies
94
94
if : ${{ runner.os == 'Windows' }}
95
95
run : |
96
96
pip install -r ${{ github.action_path }}\requirements.txt
97
97
echo "path_sep=" >> $GITHUB_ENV
98
98
shell : pwsh
99
99
100
- - name : Is Posix
100
+ - name : Posix install dependencies
101
101
if : ${{ runner.os != 'Windows' }}
102
102
run : pip install -r ${{ github.action_path }}/requirements.txt
103
103
shell : bash
104
104
105
- - run : >
105
+ - name : Lint on Windows
106
+ if : ${{ runner.os == 'Windows' }}
107
+ run : >
108
+ ${{ github.action_path }}\entrypoint.sh
109
+ '${{ inputs.python-root-list }}'
110
+ ${{ inputs.use-pylint }}
111
+ ${{ inputs.use-pycodestyle }}
112
+ ${{ inputs.use-flake8 }}
113
+ ${{ inputs.use-black }}
114
+ ${{ inputs.use-mypy }}
115
+ ${{ inputs.use-isort }}
116
+ ${{ inputs.use-vulture }}
117
+ ${{ inputs.use-pydocstyle }}
118
+ '${{ inputs.extra-pylint-options }}'
119
+ '${{ inputs.extra-pycodestyle-options }}'
120
+ '${{ inputs.extra-flake8-options }}'
121
+ '${{ inputs.extra-black-options }}'
122
+ '${{ inputs.extra-mypy-options }}'
123
+ '${{ inputs.extra-isort-options }}'
124
+ '${{ inputs.extra-vulture-options }}'
125
+ '${{ inputs.extra-pydocstyle-options }}'
126
+ shell : pwsh
127
+
128
+ - name : Lint on Linux
129
+ if : ${{ runner.os == 'Linux' }}
130
+ run : >
106
131
${{ github.action_path }}/entrypoint.sh
107
132
'${{ inputs.python-root-list }}'
108
133
${{ inputs.use-pylint }}
@@ -121,5 +146,4 @@ runs:
121
146
'${{ inputs.extra-isort-options }}'
122
147
'${{ inputs.extra-vulture-options }}'
123
148
'${{ inputs.extra-pydocstyle-options }}'
124
- shell: bash
125
- name: Lint
149
+ shell : pwsh
0 commit comments