From 3b75dfd62d23ef7d772d1cdc41b10e8e72cd26e5 Mon Sep 17 00:00:00 2001 From: Nuri Jung Date: Thu, 20 Apr 2023 14:06:37 +0900 Subject: [PATCH 1/3] Also install clang-tidy-15 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index aa2a5d8..3266245 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ RUN apt update && \ clang-tidy-12 \ clang-tidy-13 \ clang-tidy-14 \ + clang-tidy-15 \ python3 \ python3-pip \ && rm -rf /var/lib/apt/lists/ From 1825300bd806af32d4cacd787fafee7f8ba60bb6 Mon Sep 17 00:00:00 2001 From: Nuri Jung Date: Thu, 20 Apr 2023 14:09:41 +0900 Subject: [PATCH 2/3] Set default clang-tidy version to 15 --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 3bd2ed4..4e523c0 100644 --- a/action.yml +++ b/action.yml @@ -18,8 +18,8 @@ inputs: default: ${{ github.workspace }} require: false clang_tidy_version: - description: 'Version of clang-tidy to use; one of 11, 12, 13, 14' - default: '14' + description: 'Version of clang-tidy to use; one of 11, 12, 13, 14, 15' + default: '15' required: false clang_tidy_checks: description: 'List of checks' From 23c215ae001efaddb2eda9d2cef90153be622b69 Mon Sep 17 00:00:00 2001 From: Nuri Jung Date: Thu, 20 Apr 2023 14:10:40 +0900 Subject: [PATCH 3/3] Update README.md for clang-tidy version 15 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index be8fd38..edd44e9 100644 --- a/README.md +++ b/README.md @@ -89,8 +89,8 @@ at once, so `clang-tidy-review` will only attempt to post the first `GITHUB_WORKSPACE`. - default: `GITHUB_WORKSPACE` - `clang_tidy_version`: Version of clang-tidy to use; one of 11, 12, - 13, 14 - - default: '14' + 13, 14, 15 + - default: '15' - `clang_tidy_checks`: List of checks - default: `'-*,performance-*,readability-*,bugprone-*,clang-analyzer-*,cppcoreguidelines-*,mpi-*,misc-*'` - `config_file`: Path to clang-tidy config file, replaces `clang_tidy_checks`