From bc597d1ae5ffaecd61e08f2d3044ea5638e2a729 Mon Sep 17 00:00:00 2001 From: Joerg Kreuzberger Date: Mon, 15 Jul 2024 16:55:53 +0200 Subject: [PATCH] [#6] update cmake.yml to fix build issues --- .github/workflows/clang-format.yml | 6 +++--- .github/workflows/cmake.yml | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 22628a2..43cfeb7 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -11,10 +11,10 @@ jobs: - 'src' - 'test' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run clang-format style check for C/C++ programs. - uses: jidicula/clang-format-action@v4.2.0 + uses: jidicula/clang-format-action@v4.13.0 with: - clang-format-version: '12' + clang-format-version: '18' check-path: ${{ matrix.path }} #fallback-style: 'LLVM' diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index d73b5d1..9394087 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -24,7 +24,7 @@ name: Build QLiteHtmlBrowser # runs-on: ubuntu-latest # steps: -# - uses: actions/checkout@v2 +# - uses: actions/checkout@v4 # # - name: Configure CMake # # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. @@ -70,11 +70,11 @@ jobs: - 'src' - 'test' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run clang-format style check for C/C++ programs. - uses: jidicula/clang-format-action@v4.2.0 + uses: jidicula/clang-format-action@v4.13.0 with: - clang-format-version: '12' + clang-format-version: '18' check-path: ${{ matrix.path }} # fallback-style: 'LLVM' @@ -105,7 +105,7 @@ jobs: } steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: recursive