mirror of
https://github.com/curl/curl.git
synced 2026-07-26 12:37:16 +03:00
perlcheck: add script, run in CI, fix fallouts
Add script to run all Perl sources through `perl -c` to ensure no issues, and run this script via GHA/checksrc in CI. Fallouts: - fix two repeated declarations. - move `shell_quote()` from `testutil.pm` to `pathhelp.pm`, to avoid circular dependency in `globalconfig.pm`. Closes #18745
This commit is contained in:
parent
72f72f678d
commit
34b1e146e4
11 changed files with 84 additions and 30 deletions
4
.github/workflows/checksrc.yml
vendored
4
.github/workflows/checksrc.yml
vendored
|
|
@ -82,6 +82,10 @@ jobs:
|
|||
source ~/venv/bin/activate
|
||||
scripts/cmakelint.sh
|
||||
|
||||
- name: 'perlcheck'
|
||||
run: |
|
||||
scripts/perlcheck.sh
|
||||
|
||||
- name: 'pytype'
|
||||
run: |
|
||||
source ~/venv/bin/activate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue