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:
commit
11ceadb242
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue