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
+1 -1
View File
@@ -12,7 +12,7 @@ reproduce the failure on other operating systems, don't worry! The
[tokio-rs/illumos] team is responsible for maintaining Tokio's illumos support,
and can be called on to assist contributors with illumos-specific issues. Please
feel free to tag @tokio-rs/illumos to ask for help resolving build failures on
illumos
illumos.
[illumos]: https://www.illumos.org/
[Buildomat]: https://github.com/oxidecomputer/buildomat
+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