Skip to content

Commit

Permalink
Tried to fix the ci problem by using a venv
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-probst committed Mar 27, 2024
1 parent 0ffd8de commit 5943d9f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/push-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:
apk update
apk upgrade
apk add --virtual build-dependencies build-base gcc wget git
apk add --no-cache python3 python3-dev py3-pip py3-pre-commit nodejs npm
apk add --no-cache python3 python3-dev py3-pip nodejs npm
python3 -m venv /github/home/venv
/github/home/venv/bin/activate
pip3 install pre-commit
git config --global --add safe.directory /github/workspace
pre-commit run --verbose --all-files > pre-commit-validation.txt & cat pre-commit-validation.txt
if cat pre-commit-validation.txt | grep -q Failed;
Expand Down

0 comments on commit 5943d9f

Please sign in to comment.