File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,24 @@ jobs:
213
213
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
214
214
with :
215
215
fail_ci_if_error : true
216
+ build-examples :
217
+ runs-on : ubuntu-latest
218
+ steps :
219
+ - uses : actions/checkout@v4
220
+ - uses : dtolnay/rust-toolchain@stable
221
+ with :
222
+ components : rustfmt
223
+ - uses : arduino/setup-protoc@v3
224
+ with :
225
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
226
+ - name : Build examples
227
+ run : |
228
+ for example in examples/*; do
229
+ if [ -d "$example" ]; then
230
+ echo "Building $example"
231
+ cargo build
232
+ fi
233
+ done
216
234
cargo-machete :
217
235
continue-on-error : true
218
236
runs-on : ubuntu-latest
@@ -232,4 +250,4 @@ jobs:
232
250
with :
233
251
tool : cargo-machete
234
252
- name : cargo machete
235
- run : cargo machete
253
+ run : cargo machete
You can’t perform that action at this time.
0 commit comments