This is an automated email from the ASF dual-hosted git repository.
edwardxu pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
The following commit(s) were added to refs/heads/unstable by this push:
new f2058ceab chore(ci): Use the lastest version of clang-format-18 &
clang-tidy-18 (#3389)
f2058ceab is described below
commit f2058ceab287c49e2869ef0575480e52bbb1db82
Author: 纪华裕 <[email protected]>
AuthorDate: Thu Mar 12 15:22:04 2026 +0800
chore(ci): Use the lastest version of clang-format-18 & clang-tidy-18
(#3389)
The clang-format-18 provided by Ubuntu is version 18.1.3, while the
latest is 18.1.8. This discrepancy causes mismatches with the versions
many developers have installed locally. Pinning clang-format-18 to the
latest minor release of version 18 would significantly improve the
developer experience.
Refer https://github.com/apache/kvrocks/pull/3372
---
.github/workflows/kvrocks.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml
index a09de2bbe..0cd658101 100644
--- a/.github/workflows/kvrocks.yaml
+++ b/.github/workflows/kvrocks.yaml
@@ -78,6 +78,8 @@ jobs:
cache: false
- name: Prepare Dependencies
run: |
+ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key
add -
+ echo "deb http://apt.llvm.org/$(lsb_release -cs)/
llvm-toolchain-$(lsb_release -cs)-18 main" | sudo tee
/etc/apt/sources.list.d/llvm.list
sudo apt update
sudo apt install -y clang-format-18 clang-tidy-18
- name: Check with clang-format