From 47cd0554587e07f597cee3b79afb2f5f63f35fc0 Mon Sep 17 00:00:00 2001 From: Ricardo Antunes Date: Thu, 9 Nov 2023 10:39:26 +0000 Subject: [PATCH] fix(ci): actually use clang-tidy 17 --- .github/workflows/clang-tidy-lint.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/clang-tidy-lint.yml b/.github/workflows/clang-tidy-lint.yml index 5aa65fa13..cea58f80f 100644 --- a/.github/workflows/clang-tidy-lint.yml +++ b/.github/workflows/clang-tidy-lint.yml @@ -19,14 +19,11 @@ jobs: - name: Install dependencies run: | + wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc + sudo add-apt-repository -y "deb https://apt.llvm.org/jammy/ llvm-toolchain-jammy main" sudo apt-get update - sudo apt-get install xorg-dev libglu1-mesa-dev gcc-11 g++-11 - - - name: Install newer Clang - run: | - wget https://apt.llvm.org/llvm.sh - chmod +x ./llvm.sh - sudo ./llvm.sh 17 + sudo apt-get upgrade + sudo apt-get install xorg-dev libglu1-mesa-dev gcc-11 g++-11 clang-tidy - name: Make all changed headers reachable run: |