mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-04 10:48:20 +00:00
Fix CI: use Language: Cpp in clang-format (compatible with all versions)
This commit is contained in:
1 parent
50e0ff6244
commit
5b18f7da95
2 files changed
+3
-7
No files matched your search
+1
-1
@@ -4,7 +4,7 @@
|
||||
# Style: K&R braces, 4-space indent, 100-column limit.
|
||||
# Equivalent to Go's gofmt for consistent formatting.
|
||||
|
||||
Language: C
|
||||
Language: Cpp
|
||||
BasedOnStyle: LLVM
|
||||
|
||||
# Indentation
|
||||
|
||||
@@ -15,12 +15,8 @@ jobs:
|
||||
|
||||
- name: Install deps
|
||||
run: |
|
||||
sudo apt-get update && sudo apt-get install -y libsqlite3-dev zlib1g-dev cppcheck
|
||||
wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||
sudo add-apt-repository -y "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-18 main"
|
||||
sudo apt-get update && sudo apt-get install -y clang-tidy-18 clang-format-18
|
||||
sudo ln -sf /usr/bin/clang-tidy-18 /usr/bin/clang-tidy
|
||||
sudo ln -sf /usr/bin/clang-format-18 /usr/bin/clang-format
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libsqlite3-dev zlib1g-dev cppcheck clang-tidy clang-format
|
||||
|
||||
- name: clang-format
|
||||
run: make -f Makefile.cbm lint-format
|
||||
|
||||
Reference in new issue
Block a user