diff --git a/.github/workflows/clang-analyze.yml b/.github/workflows/clang-analyze.yml index 10de2c285..8b345b4d5 100644 --- a/.github/workflows/clang-analyze.yml +++ b/.github/workflows/clang-analyze.yml @@ -23,10 +23,10 @@ jobs: - name: Install clang-tools run: | wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main" - sudo apt-get update && sudo apt-get install -y clang-tools-15 + sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main" + sudo apt-get update && sudo apt-get install -y clang-tools-17 - name: analyze run: | - cmake -B build -DCMAKE_C_COMPILER=clang-15 - analyze-build-15 --cdb build/compile_commands.json + cmake -B build -DCMAKE_C_COMPILER=clang-17 + analyze-build-17 --cdb build/compile_commands.json --status-bugs