diff --git a/.clang-format b/.clang-format index b05423f..1d1d724 100644 --- a/.clang-format +++ b/.clang-format @@ -1,6 +1,6 @@ --- Language: Cpp -Standard: c++20 +Standard: Latest BasedOnStyle: GNU AccessModifierOffset: -4 PointerAlignment: Left diff --git a/.github/workflows/clang-format-apply.yml b/.github/workflows/clang-format-apply.yml index 194fff0..77c173f 100644 --- a/.github/workflows/clang-format-apply.yml +++ b/.github/workflows/clang-format-apply.yml @@ -9,12 +9,13 @@ jobs: contents: write steps: - - uses: actions/checkout@v4 - - uses: DoozyX/clang-format-lint-action@v0.18.1 + - uses: actions/checkout@v6 + - uses: DoozyX/clang-format-lint-action@v0.20 with: source: '.' exclude: './extern ./libs' - clangFormatVersion: 18.1.3 + extensions: 'h,cpp,c' + clangFormatVersion: 20 inplace: True - run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" diff --git a/.github/workflows/clang-format-test.yml b/.github/workflows/clang-format-test.yml index 9fdac3c..2a9d327 100644 --- a/.github/workflows/clang-format-test.yml +++ b/.github/workflows/clang-format-test.yml @@ -9,9 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: DoozyX/clang-format-lint-action@v0.18.1 + - uses: actions/checkout@v6 + - uses: DoozyX/clang-format-lint-action@v0.20 with: source: '.' exclude: './extern ./libs' - clangFormatVersion: 18.1.3 + extensions: 'h,cpp,c' + clangFormatVersion: 20