Skip to content

Commit 1ce93d7

Browse files
committed
better
1 parent d20944b commit 1ce93d7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/pr-code-format.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,14 @@ jobs:
4040
run: |
4141
echo "Formatting files:"
4242
echo "$CHANGED_FILES"
43+
44+
- name: Create python venv
45+
run: |
46+
python -m venv venv
47+
. venv/bin/activate
4348
4449
- name: Install python dependencies
45-
run: pip install -r llvm/utils/git/requirements_formatting.txt --break-system-packages
50+
run: pip install -r llvm/utils/git/requirements_formatting.txt
4651

4752
- name: Run code formatter
4853
env:

0 commit comments

Comments
 (0)