Skip to content

Commit d18b4b3

Browse files
committed
chore: use nightly toolchain for fmt job
1 parent ca6b84d commit d18b4b3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ of the PR were done in a specific way -->
2020

2121
* [ ] I've signed all my commits
2222
* [ ] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
23-
* [ ] I ran `cargo fmt` and `cargo clippy` before committing
23+
* [ ] I ran `cargo +nightly fmt` and `cargo clippy` before committing
2424

2525
#### New Features:
2626

.github/workflows/cont_integration.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ jobs:
106106
run: cargo check --target wasm32-unknown-unknown --no-default-features --features miniscript/no-std,bdk_chain/hashbrown
107107

108108
fmt:
109-
needs: prepare
110109
name: Rust fmt
111110
runs-on: ubuntu-latest
112111
steps:
@@ -117,12 +116,12 @@ jobs:
117116
- name: Install Rust toolchain
118117
uses: actions-rs/toolchain@v1
119118
with:
120-
toolchain: ${{ needs.prepare.outputs.rust_version }}
119+
toolchain: nightly
121120
override: true
122121
profile: minimal
123122
components: rustfmt
124123
- name: Check fmt
125-
run: cargo fmt --all -- --config format_code_in_doc_comments=true --check
124+
run: cargo fmt --all --check
126125

127126
clippy_check:
128127
needs: prepare

0 commit comments

Comments
 (0)