From 6d3782ecee4c6983fa92a75df14f73f0d84a0a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Cie=C5=9Blar?= Date: Fri, 10 Nov 2023 13:07:39 +0100 Subject: [PATCH] Update clang-format-lint.yml (#232) * Update clang-format-lint.yml * set clang-format version to 14 --- .github/workflows/clang-format-lint.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/clang-format-lint.yml b/.github/workflows/clang-format-lint.yml index 05e39599e..5265c8936 100644 --- a/.github/workflows/clang-format-lint.yml +++ b/.github/workflows/clang-format-lint.yml @@ -4,15 +4,21 @@ on: pull_request: jobs: + build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: DoozyX/clang-format-lint-action@v0.14 - with: - source: '.' - exclude: './externals' - extensions: 'h,cpp' - clangFormatVersion: 15 - + - name: Install clang format + run: sudo apt install -y clang-format && clang-format --version + + - name: Checkout + uses: actions/checkout@v3 + + - name: Lint + uses: DoozyX/clang-format-lint-action@v0.14 + with: + source: '.' + exclude: './externals' + extensions: 'h,cpp' + clangFormatVersion: 14