From f233ceacbd639ea99fe3cd14415c4205799ecfa4 Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Wed, 17 Apr 2024 16:46:47 +0200
Subject: [PATCH] CI: clang-tidy: use clang directly without wrapper

---
 .github/workflows/clang-tidy.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml
index c280e1efe..c7069e5b5 100644
--- a/.github/workflows/clang-tidy.yml
+++ b/.github/workflows/clang-tidy.yml
@@ -16,6 +16,8 @@ jobs:
       with:
         release-platform: ${{ matrix.LCG }}
         run: |
+          # clang-tidy does not work with the clang-wrapper, we setup the direct clang here
+          source /cvmfs/sft.cern.ch/lcg/contrib/clang/16/x86_64-el9/setup.sh
           mkdir build
           cd build
           unset CPATH
-- 
GitLab