From 6dd2cfba34e98a291e5ce82ee877b445de03347b Mon Sep 17 00:00:00 2001 From: Tamino Bauknecht Date: Sat, 21 Oct 2023 11:57:11 +0200 Subject: [PATCH 1/2] ci: Lint header files with hpp file ending --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d11d2ccc..f931babb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,5 +10,5 @@ jobs: - uses: DoozyX/clang-format-lint-action@v0.13 with: source: '.' - extensions: 'h,cpp,c' + extensions: 'hpp,h,cpp,c' clangFormatVersion: 12 From f598e348c4705cbd2335aec59afb13143b9bc235 Mon Sep 17 00:00:00 2001 From: Tamino Bauknecht Date: Sat, 21 Oct 2023 12:50:56 +0200 Subject: [PATCH 2/2] ci: Update Linter job --- .github/workflows/lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f931babb..5504dc32 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,8 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: DoozyX/clang-format-lint-action@v0.13 + - uses: DoozyX/clang-format-lint-action@v0.16.2 with: source: '.' extensions: 'hpp,h,cpp,c' - clangFormatVersion: 12 + clangFormatVersion: 16