From ba7a1be1fadaadc4473666a2aa33ce8243c2e34b Mon Sep 17 00:00:00 2001 From: Arseniy Obolenskiy Date: Mon, 10 Feb 2025 13:15:11 +0100 Subject: [PATCH] Add support for clang-tidy-19 --- Dockerfile | 1 + README.md | 4 ++-- action.yml | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 81dc1b0..6268bc2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ RUN apt update && \ clang-tidy-16 \ clang-tidy-17 \ clang-tidy-18 \ + clang-tidy-19 \ python3 \ python3-pip \ && rm -rf /var/lib/apt/lists/ diff --git a/README.md b/README.md index 47cba70..df124bc 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,8 @@ at once, so `clang-tidy-review` will only attempt to post the first - `base_dir`: Absolute path to initial working directory `GITHUB_WORKSPACE`. - default: `GITHUB_WORKSPACE` -- `clang_tidy_version`: Version of clang-tidy to use; one of 14, 15, 16, 17, 18 - - default: '18' +- `clang_tidy_version`: Version of clang-tidy to use; one of 14, 15, 16, 17, 18, 19 + - default: '19' - `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` diff --git a/action.yml b/action.yml index df59943..4475011 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 14, 15, 16, 17, 18' - default: '18' + description: 'Version of clang-tidy to use; one of 14, 15, 16, 17, 18, 19' + default: '19' required: false clang_tidy_checks: description: 'List of checks'