We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 512e9de commit c9e998eCopy full SHA for c9e998e
1 file changed
.github/workflows/ci.yml
@@ -1115,7 +1115,13 @@ jobs:
1115
# using LC_ALL to en_US.UTF8 to be consistent in different
1116
# environments.
1117
1118
- sed '1d; $d' spellcheck.dic | LC_ALL=en_US.UTF8 sort -uc
+ (
1119
+ sed '1d; $d' spellcheck.dic | LC_ALL=en_US.UTF8 sort -uc
1120
+ ) || {
1121
+ echo "Dictionary is not in sorted order. Correct order is:"
1122
+ LC_ALL=en_US.UTF8 sort -u <(sed '1d; $d' spellcheck.dic)
1123
+ false
1124
+ }
1125
- name: Run cargo-spellcheck
1126
run: cargo spellcheck --code 1
1127
0 commit comments