GHA: verify function-lengths

No production code function is allowed to be longer than 500 lines.

The lib/setopt.c:setopt_cptr function is currently exempt, as a single
exception until we make it smaller.

Closes #21492
This commit is contained in:
Daniel Stenberg 2026-05-04 14:25:47 +02:00
parent f97f01f592
commit 80214dca6b
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 140 additions and 3 deletions

View file

@ -27,7 +27,7 @@ EXTRA_DIST = coverage.sh completion.pl firefox-db2pem.sh checksrc.pl \
cdall cd2cd managen dmaketgz maketgz release-tools.sh verify-release \
cmakelint.sh mdlinkcheck CMakeLists.txt perlcheck.sh pythonlint.sh \
spacecheck.pl randdisable wcurl top-complexity extract-unit-protos \
.checksrc badwords badwords-all badwords.txt
.checksrc badwords badwords-all badwords.txt top-length
dist_bin_SCRIPTS = wcurl