CI: Manually remove trailing whitespace

`rustfmt` bad robot, remove trailing whitespace already.
This commit is contained in:
Tobin C. Harding 2025-05-14 11:08:24 +10:00
parent fc373f3a37
commit 64844131de
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@ jobs:
with:
components: rustfmt
- name: Run Nightly rustfmt
run: cargo +nightly fmt
# Run the formatter and manually remove trailing whitespace.
run: cargo +nightly fmt && find . -type f -name '*.rs' -exec sed -i 's/ $//' {} \;
- name: Get the current date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- name: Create Pull Request