2828        rust :
2929          - version : ${{ needs.prepare.outputs.rust_version }} 
3030            clippy : true 
31-           - version : 1.85.0  #  Overall  MSRV
31+           - version : 1.85.0  #  MSRV
3232        features :
3333          - --no-default-features --features miniscript/no-std,bdk_chain/hashbrown 
3434          - --all-features 
@@ -38,13 +38,11 @@ jobs:
3838        with :
3939          persist-credentials : false 
4040      - name : Install Rust toolchain 
41-         uses : actions-rs/ toolchain@v1 
41+         uses : actions-rust-lang/setup-rust- toolchain@v1 
4242        with :
4343            toolchain : ${{ matrix.rust.version }} 
4444            override : true 
45-             profile : minimal 
46-       - name : Rust Cache 
47- 45+             cache : true 
4846      - name : Pin dependencies for MSRV 
4947        if : matrix.rust.version == '1.85.0' 
5048        run : ./ci/pin-msrv.sh 
@@ -65,14 +63,12 @@ jobs:
6563        with :
6664          persist-credentials : false 
6765      - name : Install Rust toolchain 
68-         uses : actions-rs/ toolchain@v1 
66+         uses : actions-rust-lang/setup-rust- toolchain@v1 
6967        with :
7068          toolchain : ${{ needs.prepare.outputs.rust_version }} 
7169          override : true 
72-           profile :  minimal 
70+           cache :  true 
7371          #  target: "thumbv6m-none-eabi"
74-       - name : Rust Cache 
75- 7672      - name : Check bdk_chain 
7773        working-directory : ./crates/chain 
7874        #  TODO "--target thumbv6m-none-eabi" should work but currently does not
@@ -99,14 +95,12 @@ jobs:
9995      - run : sudo apt-get update || exit 1 
10096      - run : sudo apt-get install -y libclang-common-14-dev clang-14 libc6-dev-i386 || exit 1 
10197      - name : Install Rust toolchain 
102-         uses : actions-rs/ toolchain@v1 
98+         uses : actions-rust-lang/setup-rust- toolchain@v1 
10399        with :
104100            toolchain : ${{ needs.prepare.outputs.rust_version }} 
105101            override : true 
106-             profile :  minimal 
102+             cache :  true 
107103            target : " wasm32-unknown-unknown" 
108-       - name : Rust Cache 
109- 110104      - name : Check esplora 
111105        working-directory : ./crates/esplora 
112106        run : cargo check --target wasm32-unknown-unknown --no-default-features --features bdk_core/hashbrown,async 
@@ -120,11 +114,10 @@ jobs:
120114        with :
121115          persist-credentials : false 
122116      - name : Install Rust toolchain 
123-         uses : actions-rs/ toolchain@v1 
117+         uses : actions-rust-lang/setup-rust- toolchain@v1 
124118        with :
125119            toolchain : nightly 
126120            override : true 
127-             profile : minimal 
128121            components : rustfmt 
129122      - name : Check fmt 
130123        run : cargo fmt --all --check 
@@ -139,13 +132,12 @@ jobs:
139132      - uses : actions/checkout@v4 
140133        with :
141134          persist-credentials : false 
142-       - uses : actions-rs/ toolchain@v1 
135+       - uses : actions-rust-lang/setup-rust- toolchain@v1 
143136        with :
144137            toolchain : ${{ needs.prepare.outputs.rust_version }} 
145138            components : clippy 
146139            override : true 
147-       - name : Rust Cache 
148- 140+             cache : true 
149141      - uses : actions-rs/clippy-check@v1 
150142        with :
151143          token : ${{ secrets.GITHUB_TOKEN }} 
@@ -169,13 +161,11 @@ jobs:
169161        with :
170162          persist-credentials : false 
171163      - name : Install Rust toolchain 
172-         uses : actions-rs/ toolchain@v1 
164+         uses : actions-rust-lang/setup-rust- toolchain@v1 
173165        with :
174166          toolchain : ${{ needs.prepare.outputs.rust_version }} 
175167          override : true 
176-           profile : minimal 
177-       - name : Rust Cache 
178- 168+           cache : true 
179169      - name : Build 
180170        working-directory : examples/${{ matrix.example-dir }} 
181171        run : cargo build 
0 commit comments