@@ -51,12 +51,10 @@ jobs:
5151 target
5252 key : ${{ runner.os }}-cargo-${{ hashFiles('.cache_key') }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
5353 - name : Install Rust toolchain
54- uses : actions-rs/ toolchain@v1
54+ uses : dtolnay/rust- toolchain@master
5555 with :
5656 toolchain : ${{ matrix.rust.version }}
57- override : true
5857 components : clippy
59- profile : minimal
6058 - name : Pin dependencies for MSRV
6159 if : matrix.rust.version == '1.63.0'
6260 run : |
8886 target
8987 key : ${{ runner.os }}-cargo-test-md-docs-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
9088 - name : Install Rust toolchain
91- uses : actions-rs/ toolchain@v1
89+ uses : dtolnay/rust- toolchain@nightly
9290 with :
93- toolchain : nightly
94- override : true
9591 components : clippy
96- profile : minimal
9792 - name : Test
9893 run : cargo test --features bitcoin/std,miniscript/std,test-md-docs --no-default-features -- doctest::ReadmeDoctests
9994
@@ -133,11 +128,7 @@ jobs:
133128 target
134129 key : ${{ runner.os }}-cargo-${{ github.job }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
135130 - name : Install Rust toolchain
136- uses : actions-rs/toolchain@v1
137- with :
138- toolchain : stable
139- override : true
140- profile : minimal
131+ uses : dtolnay/rust-toolchain@stable
141132 - name : Test
142133 run : cargo test --no-default-features --features bitcoin/std,miniscript/std,${{ matrix.blockchain.features }} ${{ matrix.blockchain.testprefix }}::bdk_blockchain_tests -- --test-threads=1
143134
@@ -164,11 +155,7 @@ jobs:
164155 - run : sudo apt-get update || exit 1
165156 - run : sudo apt-get install -y libclang-common-10-dev clang-10 libc6-dev-i386 || exit 1
166157 - name : Install Rust toolchain
167- uses : actions-rs/toolchain@v1
168- with :
169- toolchain : stable
170- override : true
171- profile : minimal
158+ uses : dtolnay/rust-toolchain@stable
172159 - name : Add target wasm32
173160 run : rustup target add wasm32-unknown-unknown
174161 - name : Check
@@ -181,12 +168,9 @@ jobs:
181168 - name : Checkout
182169 uses : actions/checkout@v4
183170 - name : Install Rust toolchain
184- uses : actions-rs/ toolchain@v1
171+ uses : dtolnay/rust- toolchain@stable
185172 with :
186- toolchain : stable
187- override : true
188173 components : rustfmt
189- profile : minimal
190174 - name : Check fmt
191175 run : cargo fmt --all -- --config format_code_in_doc_comments=true --check
192176
@@ -211,11 +195,9 @@ jobs:
211195 - name : Install python dependencies
212196 run : pip install hwi==2.1.1 protobuf==3.20.1
213197 - name : Install Rust toolchain
214- uses : actions-rs/ toolchain@v1
198+ uses : dtolnay/rust- toolchain@master
215199 with :
216200 toolchain : ${{ matrix.rust.version }}
217- override : true
218- profile : minimal
219201 - name : Pin dependencies for MSRV
220202 if : matrix.rust.version == '1.63.0'
221203 run : |
0 commit comments