From bf430fc3b938bbde2379e5385e17874434df4928 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 25 Nov 2024 15:40:47 -0300 Subject: [PATCH 1/2] Add missing #include to use LOG() when HAVE_CONFIG_H isn't defined --- src/ui/widget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/widget.cpp b/src/ui/widget.cpp index cdfc58335..787960a82 100644 --- a/src/ui/widget.cpp +++ b/src/ui/widget.cpp @@ -13,6 +13,7 @@ #include "ui/widget.h" +#include "base/log.h" #include "base/memory.h" #include "base/string.h" #include "base/utf8_decode.h" From 8241e0361212171083b96953a916976eeecca699 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 27 Nov 2024 15:20:15 -0300 Subject: [PATCH 2/2] Fix clang-tidy-review action --- .github/workflows/clang_tidy.yml | 4 ++-- .github/workflows/clang_tidy_post.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/clang_tidy.yml b/.github/workflows/clang_tidy.yml index 38114e47e..48c31a36a 100644 --- a/.github/workflows/clang_tidy.yml +++ b/.github/workflows/clang_tidy.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: 'recursive' - - uses: ZedThree/clang-tidy-review@v0.14.0 + - uses: ZedThree/clang-tidy-review@v0.20.1 id: review with: build_dir: build @@ -28,5 +28,5 @@ jobs: libxcursor-dev, libxi-dev, libgl1-mesa-dev cmake_command: | cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DLAF_BACKEND=none -DCMAKE_EXPORT_COMPILE_COMMANDS=on - - uses: ZedThree/clang-tidy-review/upload@v0.14.0 + - uses: ZedThree/clang-tidy-review/upload@v0.20.1 id: upload-review diff --git a/.github/workflows/clang_tidy_post.yml b/.github/workflows/clang_tidy_post.yml index 4ccf7845b..5701e336a 100644 --- a/.github/workflows/clang_tidy_post.yml +++ b/.github/workflows/clang_tidy_post.yml @@ -13,6 +13,6 @@ jobs: post-comments: runs-on: ubuntu-latest steps: - - uses: ZedThree/clang-tidy-review/post@v0.14.0 + - uses: ZedThree/clang-tidy-review/post@v0.20.1 with: token: ${{ secrets.CLANG_TIDY_TOKEN }}