Fixed broken clang-format checker
This commit is contained in:
@@ -5,9 +5,11 @@ jobs:
|
|||||||
name: Formatting Check
|
name: Formatting Check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout repo
|
||||||
- name: Run clang-format style check
|
uses: actions/checkout@v4
|
||||||
uses: jidicula/clang-format-action@v4.13.0
|
|
||||||
with:
|
- name: Install clang-format
|
||||||
clang-format-version: '19'
|
run: sudo apt-get update && sudo apt-get install -y clang-format-19
|
||||||
check-path: 'src'
|
|
||||||
|
- name: Perform checks
|
||||||
|
run: find src \( -name "*.cpp" -o -name "*.hpp" \) -print0 | xargs -r -0 clang-format-19 --dry-run --Werror
|
||||||
Reference in New Issue
Block a user