]> git.mdlowis.com Git - proto/labwc.git/commitdiff
ci: include scripts/find-banned.sh
authorJohan Malm <jgm323@gmail.com>
Thu, 28 Dec 2023 21:35:13 +0000 (21:35 +0000)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 29 Dec 2023 10:47:55 +0000 (11:47 +0100)
...to search for functions which have been banned from our code base,
because they're too easy to misuse, and even if used correctly,
complicate audits, cause inconsistencies and/or make static analysis
harder.

.github/workflows/build.yml
scripts/helper/.gitignore [new file with mode: 0644]

index d78f0877a5db42b8e047f5389b649524211a9c48..beaffb14dd7ab633aff444613871182d30934523 100644 (file)
@@ -18,6 +18,8 @@ jobs:
       - name: Code Style
         run: |
           ./scripts/check
+          make -C scripts/helper
+          ./scripts/find-banned.sh
   build:
     name: Build
     needs: codestyle
diff --git a/scripts/helper/.gitignore b/scripts/helper/.gitignore
new file mode 100644 (file)
index 0000000..3f09a20
--- /dev/null
@@ -0,0 +1,2 @@
+find-idents
+*.o