Add checks for zombie sourcecode problems

This adds checks for zombie sourcecode problems, i.e. problems
we have tried to eliminate but which might be or have been
resurrected.

The example check is for the problematic

    #include "ac_cfg.h"

with double quotes instead of <> which were identified as a
problem in https://github.com/avrdudes/avrdude/issues/1706
and then fixed.
This commit is contained in:
Hans Ulrich Niedermann
2024-08-24 14:36:02 +02:00
parent 9e9825c988
commit 5176d7b818
2 changed files with 77 additions and 0 deletions

24
.github/workflows/check-sourcecode.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: "Check Sourcecode"
on:
push:
branches-ignore:
- 'onlinedocs'
pull_request:
branches-ignore:
- 'onlinedocs'
jobs:
check-sourcecode:
name: "Check Sourcecode"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - name: Install prerequisites
- name: "Check the sourcecode"
run: ./tools/check-sourcecode