Skip to content

Commit eddc6a4

Browse files
[CI] Update the version of clang-format on ubuntu-latest
1 parent bd58199 commit eddc6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Check cpp style
5757
if: ${{ matrix.runner != 'macos-latest' }}
5858
run: |
59-
sudo apt-get install -y clang-format
59+
pip install clang-format
6060
find . -regex '.*\.\(cpp\|hpp\|h\|cc\)' -not -path "./python/build/*" -not -path "./include/triton/external/*" -print0 | xargs -0 -n1 clang-format -style=file --dry-run -Werror -i ||
6161
(echo '::error title=Style issues:: Please run `find . -regex ".*\.\(cpp\|hpp\|h\|cc\)" -not -path "./python/build/*" -not -path "./include/triton/external/*" -print0 | xargs -0 -n1 clang-format -style=file -i`' ; exit 1)
6262

0 commit comments

Comments
 (0)