Skip to content

Commit 360c9c7

Browse files
committed
Use clang-format-20 instaed of the development version
1 parent fcff0a5 commit 360c9c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/c-check.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
- name: Install clang-format from LLVM
2424
run: |
2525
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
26-
sudo apt-add-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main"
26+
sudo apt-add-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-20 main"
2727
sudo apt-get update
28-
sudo apt-get install -y clang-format
28+
sudo apt-get install -y clang-format-20
29+
sudo ln -sf /usr/bin/clang-format-20 /usr/local/bin/clang-format
2930
clang-format --version
3031
- name: Install Re2c
3132
run: |

0 commit comments

Comments
 (0)