Skip to content

Commit e449e31

Browse files
committed
Install newer clang-format
1 parent b13441e commit e449e31

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/clang-format.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ jobs:
3030
- name: Install dependencies
3131
run: |
3232
sudo apt-get update
33-
sudo apt-get install -y libdb-dev curl autoconf automake m4 libtool clang-format
33+
sudo apt-get install -y libdb-dev curl autoconf automake m4 libtool
34+
- name: Install clang-format 20
35+
run: |
36+
sudo apt-get install -y clang-format-20
37+
sudo ln -sf /usr/bin/clang-format-20 /usr/bin/clang-format
38+
clang-format --version
3439
- name: Install Re2c
3540
run: |
3641
cd /tmp

0 commit comments

Comments
 (0)