File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,15 @@ inputs:
3232runs :
3333 using : " composite"
3434 steps :
35+ - name : Install action dependencies
36+ shell : bash
37+ run : |
38+ if [[ "$RUNNER_OS" == "Linux" ]]; then
39+ # https://github.com/pypa/setuptools/issues/3269
40+ export DEB_PYTHON_INSTALL_LAYOUT=deb
41+ fi
42+ python3 -m pip install -r "$GITHUB_ACTION_PATH/requirements.txt"
43+ - name : Run commit-check
3544 - run : ${{ github.action_path }}/entrypoint.sh
3645 shell : bash
3746 env :
Original file line number Diff line number Diff line change @@ -3,14 +3,6 @@ set -euo pipefail
33
44ret_code=0
55
6- install_dependencies (){
7- if [[ " $RUNNER_OS " == " Linux" ]]; then
8- # https://github.com/pypa/setuptools/issues/3269
9- export DEB_PYTHON_INSTALL_LAYOUT=deb
10- fi
11- python3 -m pip install -r requirements.txt
12- }
13-
146run_commit_check (){
157 args=" "
168 if [[ " $MESSAGE " == " true" ]]; then
@@ -48,7 +40,6 @@ add_job_summary(){
4840 fi
4941}
5042
51- install_dependencies
5243run_commit_check
5344add_job_summary
5445
You can’t perform that action at this time.
0 commit comments