ci: detect trailing whitespace (#7013)

This commit is contained in:
Alice Ryhl
2024-12-04 17:23:13 +01:00
committed by GitHub
parent 0b31c2f73d
commit c032ea0203
9 changed files with 29 additions and 28 deletions
+2 -1
View File
@@ -1103,4 +1103,5 @@ jobs:
}
- name: Run cargo-spellcheck
run: cargo spellcheck --code 1
- name: Detect trailing whitespace
run: if grep --exclude-dir=.git --exclude-dir=target -re '\s$' . ; then exit 1; fi