mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
ci: print the correct sort order of the dictionary on failure (#6905)
This commit is contained in:
parent
512e9decfb
commit
c9e998e4b3
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -1115,7 +1115,13 @@ jobs:
|
||||
# using LC_ALL to en_US.UTF8 to be consistent in different
|
||||
# environments.
|
||||
|
||||
sed '1d; $d' spellcheck.dic | LC_ALL=en_US.UTF8 sort -uc
|
||||
(
|
||||
sed '1d; $d' spellcheck.dic | LC_ALL=en_US.UTF8 sort -uc
|
||||
) || {
|
||||
echo "Dictionary is not in sorted order. Correct order is:"
|
||||
LC_ALL=en_US.UTF8 sort -u <(sed '1d; $d' spellcheck.dic)
|
||||
false
|
||||
}
|
||||
- name: Run cargo-spellcheck
|
||||
run: cargo spellcheck --code 1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user