Merge rust-bitcoin/rust-bitcoin#4504: CI: Manually remove trailing whitespace

64844131de CI: Manually remove trailing whitespace (Tobin C. Harding)

Pull request description:

  `rustfmt` bad robot, remove trailing whitespace already.

ACKs for top commit:
  apoelstra:
    ACK 64844131dee5c6f02a345648674a8962e2586c61; successfully ran local tests

Tree-SHA512: d131fdbfdb049223d4f89c31b7138ba4fd9a32b469d4631e5efec9ec5405564ceec4ed5fb6253ca4eb99505e2b78c78717115ad57f3c648e837d4a4853b5f023
This commit is contained in:
merge-script 2025-05-14 21:30:36 +00:00
commit 11ceadb242
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@ jobs:
with: with:
components: rustfmt components: rustfmt
- name: Run Nightly 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 - name: Get the current date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_ENV run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- name: Create Pull Request - name: Create Pull Request