From: romeroalx Date: Tue, 11 Jun 2024 12:57:32 +0000 (+0200) Subject: use the apt version of python3 for clang-tidy X-Git-Tag: rec-4.9.7~2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47b2fd57d087f65a23759a55113abdcc887d71ce;p=thirdparty%2Fpdns.git use the apt version of python3 for clang-tidy --- diff --git a/.github/workflows/build-and-test-all.yml b/.github/workflows/build-and-test-all.yml index edaf3b61c6..f07be5bf34 100644 --- a/.github/workflows/build-and-test-all.yml +++ b/.github/workflows/build-and-test-all.yml @@ -66,7 +66,7 @@ jobs: - run: inv ci-rec-make-bear - run: ln -s ../../.clang-tidy.full .clang-tidy - name: Run clang-tidy - run: git diff -U0 HEAD^..HEAD | python3 ../../.github/scripts/git-filter.py | python3 /usr/bin/clang-tidy-diff-${CLANG_VERSION}.py -clang-tidy-binary /usr/bin/clang-tidy-${CLANG_VERSION} -extra-arg=-ferror-limit=0 -p3 -export-fixes clang-tidy-rec.yml + run: git diff -U0 HEAD^..HEAD | /usr/bin/python3 ../../.github/scripts/git-filter.py | /usr/bin/python3 /usr/bin/clang-tidy-diff-${CLANG_VERSION}.py -clang-tidy-binary /usr/bin/clang-tidy-${CLANG_VERSION} -extra-arg=-ferror-limit=0 -p3 -export-fixes clang-tidy-rec.yml - name: Print clang-tidy fixes YAML shell: bash run: |