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:
32
32
runs :
33
33
using : " composite"
34
34
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
35
44
- run : ${{ github.action_path }}/entrypoint.sh
36
45
shell : bash
37
46
env :
Original file line number Diff line number Diff line change @@ -3,14 +3,6 @@ set -euo pipefail
3
3
4
4
ret_code=0
5
5
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
-
14
6
run_commit_check (){
15
7
args=" "
16
8
if [[ " $MESSAGE " == " true" ]]; then
@@ -48,7 +40,6 @@ add_job_summary(){
48
40
fi
49
41
}
50
42
51
- install_dependencies
52
43
run_commit_check
53
44
add_job_summary
54
45
You can’t perform that action at this time.
0 commit comments