Fixed broken clang-format checker
This commit is contained in:
@@ -5,9 +5,11 @@ jobs:
|
||||
name: Formatting Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run clang-format style check
|
||||
uses: jidicula/clang-format-action@v4.13.0
|
||||
with:
|
||||
clang-format-version: '19'
|
||||
check-path: 'src'
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install clang-format
|
||||
run: sudo apt-get update && sudo apt-get install -y clang-format-19
|
||||
|
||||
- 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