]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
ci.yml: run checkpatch when doing tests
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 19 Jul 2024 08:54:56 +0000 (10:54 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 19 Jul 2024 08:54:56 +0000 (10:54 +0200)
That helps detecting new problems at the code.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
.github/workflows/ci.yml

index 81500b8ed97c7827afa6d9b81a596a94485e2c06..d45ffb526745fce27ec7f4ea0dbd84460fecc96d 100644 (file)
@@ -26,3 +26,6 @@ jobs:
           ./configure --enable-all
           make
           sudo make install
+      - name: checkpatch
+        run:
+          ./scripts/checkpatch.pl --terse --show-types --no-summary -f $(git ls-files|grep -E '\.[ch]$')