ci: Rename "codespell" job to more general name "spellcheck"
This commit is contained in:
parent
17fc94e5e3
commit
54dfadaf5a
@ -95,9 +95,9 @@ u:cmake.org-help:
|
|||||||
|
|
||||||
# Lint builds
|
# Lint builds
|
||||||
|
|
||||||
l:codespell:
|
l:spellcheck:
|
||||||
extends:
|
extends:
|
||||||
- .cmake_codespell_linux
|
- .cmake_spellcheck_linux
|
||||||
- .linux_x86_64_tags
|
- .linux_x86_64_tags
|
||||||
- .run_automatically
|
- .run_automatically
|
||||||
|
|
||||||
|
@ -3,12 +3,13 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
result=0
|
result=0
|
||||||
echo "Running codespell on source code..."
|
|
||||||
|
echo "Running 'codespell' on source code..."
|
||||||
codespell || result=1
|
codespell || result=1
|
||||||
|
|
||||||
if [ -n "$CI_MERGE_REQUEST_DIFF_BASE_SHA" ]; then
|
if [ -n "$CI_MERGE_REQUEST_DIFF_BASE_SHA" ]; then
|
||||||
for COMMIT in $(git rev-list "^$CI_MERGE_REQUEST_DIFF_BASE_SHA" "$CI_COMMIT_SHA"); do
|
for COMMIT in $(git rev-list "^$CI_MERGE_REQUEST_DIFF_BASE_SHA" "$CI_COMMIT_SHA"); do
|
||||||
echo "Running codespell on commit message of $COMMIT..."
|
echo "Running 'codespell' on commit message of $COMMIT..."
|
||||||
git show --format=%B -s "$COMMIT" | codespell - || result=1
|
git show --format=%B -s "$COMMIT" | codespell - || result=1
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
@ -580,7 +580,7 @@
|
|||||||
- .gitlab/ci/cmake_version_update.sh
|
- .gitlab/ci/cmake_version_update.sh
|
||||||
interruptible: false # The job internally fetches and retries.
|
interruptible: false # The job internally fetches and retries.
|
||||||
|
|
||||||
.cmake_codespell_linux:
|
.cmake_spellcheck_linux:
|
||||||
stage: build
|
stage: build
|
||||||
extends: .fedora41
|
extends: .fedora41
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user