We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d3a5c3 commit 39bb83cCopy full SHA for 39bb83c
.github/workflows/msrv.yml
@@ -137,3 +137,30 @@ jobs:
137
with:
138
command: clippy
139
args: -- -D warnings
140
+
141
+ check-examples:
142
+ name: Check examples
143
+ needs: [check]
144
+ runs-on: ubuntu-latest
145
+ strategy:
146
+ matrix:
147
+ rust:
148
+ - 1.46.0
149
+ - stable
150
151
+ steps:
152
+ - name: Checkout sources
153
+ uses: actions/checkout@v2
154
155
+ - name: Install toolchain
156
+ uses: actions-rs/toolchain@v1
157
+ with:
158
+ toolchain: ${{ matrix.rust }}
159
+ override: true
160
161
+ - name: Run cargo check
162
+ uses: actions-rs/cargo@v1
163
164
+ command: check
165
+ args: --examples
166
0 commit comments