mirror of
https://github.com/curl/curl.git
synced 2026-07-23 00:17:18 +03:00
badwords: dedupe invocation into a runnable script
Also: - GHA/checksrc: merge two badwords CI jobs into a single one. - re-add the more common bitness entries. Closes #20874
This commit is contained in:
parent
d4a06862cb
commit
3b43b9080d
6 changed files with 26 additions and 21 deletions
15
.github/workflows/checkdocs.yml
vendored
15
.github/workflows/checkdocs.yml
vendored
|
|
@ -115,27 +115,16 @@ jobs:
|
|||
pyspelling --version
|
||||
pyspelling --verbose --jobs 5 --config .github/scripts/pyspelling.yaml
|
||||
|
||||
badwords-synopsis:
|
||||
name: 'badwords, synopsis'
|
||||
synopsis-man-examples:
|
||||
name: 'synopsis, man-examples'
|
||||
runs-on: ubuntu-24.04-arm
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: 'badwords'
|
||||
run: ./scripts/badwords -w ./scripts/badwords.ok '**.md' projects/OS400/README.OS400 < ./scripts/badwords.txt
|
||||
|
||||
- name: 'verify synopsis'
|
||||
run: .github/scripts/verify-synopsis.pl docs/libcurl/curl*.md
|
||||
|
||||
man-examples:
|
||||
name: 'man-examples'
|
||||
runs-on: ubuntu-24.04-arm
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: 'verify examples'
|
||||
run: .github/scripts/verify-examples.pl docs/libcurl/curl*.md docs/libcurl/opts/*.md
|
||||
|
|
|
|||
4
.github/workflows/checksrc.yml
vendored
4
.github/workflows/checksrc.yml
vendored
|
|
@ -179,6 +179,4 @@ jobs:
|
|||
run: .github/scripts/yamlcheck.sh
|
||||
|
||||
- name: 'badwords'
|
||||
run: |
|
||||
# we allow some extra in source code
|
||||
grep -Ev '^(will:|But=|So=|And=| url=)' ./scripts/badwords.txt | ./scripts/badwords -a src lib include docs/examples
|
||||
run: scripts/badwords-all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue