Skip to content

Commit 976e739

Browse files
committed
Treat clang-format warnings as errors.
Signed-off-by: Jelmer de Wolde <jelmer.de.wolde@alliander.com>
1 parent 4e234e1 commit 976e739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v4
2828
- run: sudo apt install -y clang-format
29-
- run: find ros2_ws/src -iname '*.h' -o -iname '*.hpp' -o -iname '*.cpp' | xargs clang-format --dry-run
29+
- run: find ros2_ws/src -iname '*.h' -o -iname '*.hpp' -o -iname '*.cpp' | xargs clang-format --dry-run --Werror
3030

3131
reuse:
3232
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)