Skip to content

Commit 9caa9ec

Browse files
committed
chore: use nightly toolchain for fmt job
1 parent 95e4d76 commit 9caa9ec

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
@@ -111,7 +111,6 @@ jobs:
111111
run: cargo check --target wasm32-unknown-unknown --no-default-features --features miniscript/no-std,bdk_chain/hashbrown
112112

113113
fmt:
114-
needs: prepare
115114
name: Rust fmt
116115
runs-on: ubuntu-latest
117116
steps:
@@ -122,12 +121,12 @@ jobs:
122121
- name: Install Rust toolchain
123122
uses: actions-rs/toolchain@v1
124123
with:
125-
toolchain: ${{ needs.prepare.outputs.rust_version }}
124+
toolchain: nightly
126125
override: true
127126
profile: minimal
128127
components: rustfmt
129128
- name: Check fmt
130-
run: cargo fmt --all -- --config format_code_in_doc_comments=true --check
129+
run: cargo fmt --all --check
131130

132131
clippy_check:
133132
needs: prepare

0 commit comments

Comments
 (0)