mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-23 21:15:41 +00:00
Remove bridges from checks (#4040)
* Remove bridges from check_line_width * Remove bridges from spellcheck
This commit is contained in:
committed by
GitHub
parent
d2e5c4bbc6
commit
f31eac6ec6
@@ -242,9 +242,9 @@ spellcheck:
|
|||||||
- cargo spellcheck --version
|
- cargo spellcheck --version
|
||||||
# compare with the commit parent to the PR, given it's from a default branch
|
# compare with the commit parent to the PR, given it's from a default branch
|
||||||
- git fetch origin +${CI_DEFAULT_BRANCH}:${CI_DEFAULT_BRANCH}
|
- git fetch origin +${CI_DEFAULT_BRANCH}:${CI_DEFAULT_BRANCH}
|
||||||
- cargo spellcheck list-files -vvv $(git diff --diff-filter=AM --name-only $(git merge-base ${CI_COMMIT_SHA} ${CI_DEFAULT_BRANCH}))
|
- cargo spellcheck list-files -vvv $(git diff --diff-filter=AM --name-only $(git merge-base ${CI_COMMIT_SHA} ${CI_DEFAULT_BRANCH} -- :^bridges))
|
||||||
- time cargo spellcheck check -vvv --cfg=scripts/gitlab/spellcheck.toml --checkers hunspell --code 1
|
- time cargo spellcheck check -vvv --cfg=scripts/gitlab/spellcheck.toml --checkers hunspell --code 1
|
||||||
$(git diff --diff-filter=AM --name-only $(git merge-base ${CI_COMMIT_SHA} ${CI_DEFAULT_BRANCH}))
|
$(git diff --diff-filter=AM --name-only $(git merge-base ${CI_COMMIT_SHA} ${CI_DEFAULT_BRANCH} -- :^bridges))
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
build-adder-collator:
|
build-adder-collator:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ BASE_BRANCH="origin/master"
|
|||||||
LINE_WIDTH="121"
|
LINE_WIDTH="121"
|
||||||
GOOD_LINE_WIDTH="101"
|
GOOD_LINE_WIDTH="101"
|
||||||
|
|
||||||
git diff --name-only "${BASE_BRANCH}...${CI_COMMIT_SHA}" -- \*.rs | ( while read -r file
|
git diff --name-only "${BASE_BRANCH}...${CI_COMMIT_SHA}" -- \*.rs :^bridges | ( while read -r file
|
||||||
do
|
do
|
||||||
if [ ! -f "${file}" ];
|
if [ ! -f "${file}" ];
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user