We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 037db85 commit af46d57Copy full SHA for af46d57
action.yml
@@ -36,17 +36,17 @@ inputs:
36
runs:
37
using: "composite"
38
steps:
39
- - name: Install action dependencies
+ - name: Install dependencies and run commit-check
40
shell: bash
41
run: |
42
if [[ "$RUNNER_OS" == "Linux" ]]; then
43
# https://github.com/pypa/setuptools/issues/3269
44
export DEB_PYTHON_INSTALL_LAYOUT=deb
45
fi
46
+ python3 -m venv venv
47
+ source venv/bin/activate
48
python3 -m pip install -r "$GITHUB_ACTION_PATH/requirements.txt"
- - name: Run commit-check
- shell: bash
49
- run: python3 ${{ github.action_path }}/main.py
+ python3 "$GITHUB_ACTION_PATH/main.py"
50
env:
51
MESSAGE: ${{ inputs.message }}
52
BRANCH: ${{ inputs.branch }}
0 commit comments