Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
CI: fix cppcheck tag (2.20.0), cache build, verify tool versions
Martin Vogelbe10b73f55c0
diff --git a/.github/workflows/dry-run.yml b/.github/workflows/dry-run.ymlindex 18f80c670..f9a5c06e9 100644--- a/.github/workflows/dry-run.yml+++ b/.github/workflows/dry-run.yml@@ -13,26 +13,43 @@ jobs:steps:- uses: actions/checkout@v4- - name: Install deps+ - name: Install build deps+ run: sudo apt-get update && sudo apt-get install -y libsqlite3-dev zlib1g-dev cmake++ # LLVM 20 (clang-format + clang-tidy) from apt.llvm.org+ - name: Install LLVM 20run: |- sudo apt-get update- sudo apt-get install -y libsqlite3-dev zlib1g-dev cmake- # LLVM 20 from apt.llvm.org (matches Homebrew LLVM)wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.ascecho "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-20 main" | sudo tee /etc/apt/sources.list.d/llvm-20.listsudo apt-get updatesudo apt-get install -y clang-format-20 clang-tidy-20- # cppcheck 2.20 from source (Ubuntu only packages 2.13)- git clone --depth 1 --branch 2.20 https://github.com/danmar/cppcheck.git /tmp/cppcheck- cmake -S /tmp/cppcheck -B /tmp/cppcheck/build -DCMAKE_BUILD_TYPE=Release++ # cppcheck 2.20.0 from source (cached)+ - uses: actions/cache@v4+ id: cppcheck-cache+ with:+ path: /usr/local/bin/cppcheck+ key: cppcheck-2.20.0-ubuntu-amd64++ - name: Build cppcheck 2.20.0+ if: steps.cppcheck-cache.outputs.cache-hit != 'true'+ run: |+ git clone --depth 1 --branch 2.20.0 https://github.com/danmar/cppcheck.git /tmp/cppcheck+ cmake -S /tmp/cppcheck -B /tmp/cppcheck/build -DCMAKE_BUILD_TYPE=Release -DHAVE_RULES=OFFcmake --build /tmp/cppcheck/build -j$(nproc)- sudo cmake --install /tmp/cppcheck/build+ sudo cp /tmp/cppcheck/build/bin/cppcheck /usr/local/bin/cppcheck++ - name: Verify versions+ run: |+ echo "clang-format: $(clang-format-20 --version)"+ echo "clang-tidy: $(clang-tidy-20 --version | head -1)"+ echo "cppcheck: $(cppcheck --version)"- name: clang-formatrun: make -f Makefile.cbm lint-format CLANG_FORMAT=clang-format-20- name: cppcheck- run: make -f Makefile.cbm lint-cppcheck+ run: make -f Makefile.cbm lint-cppcheck CPPCHECK=/usr/local/bin/cppcheck- name: clang-tidyrun: make -f Makefile.cbm lint-tidy CLANG_TIDY=clang-tidy-20