Skip to content

Commit 11ceadb

Browse files
committed
Merge rust-bitcoin#4504: CI: Manually remove trailing whitespace
6484413 CI: Manually remove trailing whitespace (Tobin C. Harding) Pull request description: `rustfmt` bad robot, remove trailing whitespace already. ACKs for top commit: apoelstra: ACK 6484413; successfully ran local tests Tree-SHA512: d131fdbfdb049223d4f89c31b7138ba4fd9a32b469d4631e5efec9ec5405564ceec4ed5fb6253ca4eb99505e2b78c78717115ad57f3c648e837d4a4853b5f023
2 parents 1b709eb + 6484413 commit 11ceadb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cron-weekly-rustfmt.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313
with:
1414
components: rustfmt
1515
- name: Run Nightly rustfmt
16-
run: cargo +nightly fmt
16+
# Run the formatter and manually remove trailing whitespace.
17+
run: cargo +nightly fmt && find . -type f -name '*.rs' -exec sed -i 's/ $//' {} \;
1718
- name: Get the current date
1819
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
1920
- name: Create Pull Request

0 commit comments

Comments
 (0)