mirror of
https://github.com/curl/curl.git
synced 2026-06-06 16:34:15 +03:00
move codespell to a script
This commit is contained in:
parent
70e4cdd6e5
commit
7f4e2ea9f9
2 changed files with 23 additions and 10 deletions
22
.github/scripts/codespell.sh
vendored
Executable file
22
.github/scripts/codespell.sh
vendored
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
# Copyright (C) Viktor Szakats
|
||||
#
|
||||
# SPDX-License-Identifier: curl
|
||||
|
||||
set -eu
|
||||
|
||||
cd "$(dirname "${0}")"/../..
|
||||
|
||||
codespell --version
|
||||
# shellcheck disable=SC2046
|
||||
codespell \
|
||||
--skip '*/spellcheck.words' \
|
||||
--skip '*/typos.toml' \
|
||||
--skip '*/THANKS' \
|
||||
--skip '*/mk-ca-bundle.pl' \
|
||||
--skip '*/wcurl' \
|
||||
--skip '*/tool_hugehelp.c' \
|
||||
--skip 'packages/*' \
|
||||
--skip '*/test*' \
|
||||
--ignore-words '.github/scripts/codespell-ignore.txt' \
|
||||
$(git ls-files)
|
||||
11
.github/workflows/checksrc.yml
vendored
11
.github/workflows/checksrc.yml
vendored
|
|
@ -69,16 +69,7 @@ jobs:
|
|||
cargo install typos-cli
|
||||
|
||||
- name: 'codespell'
|
||||
run: |
|
||||
codespell --version
|
||||
# shellcheck disable=SC2046
|
||||
codespell \
|
||||
--skip scripts/mk-ca-bundle.pl \
|
||||
--skip src/tool_hugehelp.c \
|
||||
--skip scripts/wcurl \
|
||||
--ignore-words .github/scripts/codespell-ignore.txt \
|
||||
--skip '*/test*,*/THANKS,*/spellcheck.words,packages/*,*/typos.toml' \
|
||||
$(git ls-files)
|
||||
run: .github/scripts/codespell.sh
|
||||
|
||||
- name: 'typos'
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue