42
42
with :
43
43
persist-credentials : false
44
44
- name : Install Rust toolchain
45
- uses : actions-rs/ toolchain@v1
45
+ uses : dtolnay/rust- toolchain@v1
46
46
with :
47
47
toolchain : ${{ matrix.rust.version }}
48
- override : true
49
- profile : minimal
50
48
- name : Rust Cache
51
49
uses : Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0
52
50
- name : Pin dependencies for MSRV
69
67
with :
70
68
persist-credentials : false
71
69
- name : Install Rust toolchain
72
- uses : actions-rs/ toolchain@v1
70
+ uses : dtolnay/rust- toolchain@v1
73
71
with :
74
72
toolchain : ${{ needs.prepare.outputs.rust_version }}
75
- override : true
76
- profile : minimal
77
73
# target: "thumbv6m-none-eabi"
78
74
- name : Rust Cache
79
75
uses : Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0
@@ -99,12 +95,10 @@ jobs:
99
95
- run : sudo apt-get update || exit 1
100
96
- run : sudo apt-get install -y libclang-common-14-dev clang-14 libc6-dev-i386 || exit 1
101
97
- name : Install Rust toolchain
102
- uses : actions-rs/ toolchain@v1
98
+ uses : dtolnay/rust- toolchain@v1
103
99
with :
104
100
toolchain : ${{ needs.prepare.outputs.rust_version }}
105
- override : true
106
- profile : minimal
107
- target : " wasm32-unknown-unknown"
101
+ targets : " wasm32-unknown-unknown"
108
102
- name : Rust Cache
109
103
uses : Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0
110
104
- name : Check bdk wallet
@@ -120,11 +114,9 @@ jobs:
120
114
with :
121
115
persist-credentials : false
122
116
- name : Install Rust toolchain
123
- uses : actions-rs/ toolchain@v1
117
+ uses : dtolnay/rust- toolchain@v1
124
118
with :
125
119
toolchain : nightly
126
- override : true
127
- profile : minimal
128
120
components : rustfmt
129
121
- name : Check fmt
130
122
run : cargo fmt --all --check
@@ -139,18 +131,14 @@ jobs:
139
131
- uses : actions/checkout@v4
140
132
with :
141
133
persist-credentials : false
142
- - uses : actions-rs/ toolchain@v1
134
+ - uses : dtolnay/rust- toolchain@v1
143
135
with :
144
136
toolchain : ${{ needs.prepare.outputs.rust_version }}
145
137
components : clippy
146
- override : true
147
138
- name : Rust Cache
148
139
uses : Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0
149
- - uses : actions-rs/clippy-check@v1
150
- with :
151
- token : ${{ secrets.GITHUB_TOKEN }}
152
- name : Clippy Results
153
- args : --all-features --all-targets -- -D warnings
140
+ - name : Clippy
141
+ run : cargo clippy --all-features --all-targets -- -D warnings
154
142
155
143
build-examples :
156
144
needs : prepare
@@ -162,11 +150,9 @@ jobs:
162
150
with :
163
151
persist-credentials : false
164
152
- name : Install Rust toolchain
165
- uses : actions-rs/ toolchain@v1
153
+ uses : dtolnay/rust- toolchain@v1
166
154
with :
167
155
toolchain : ${{ needs.prepare.outputs.rust_version }}
168
- override : true
169
- profile : minimal
170
156
- name : Rust Cache
171
157
uses : Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0
172
158
- name : Build + Test Examples
0 commit comments