We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f36bf1 commit 001b7d3Copy full SHA for 001b7d3
.github/workflows/rust.yml
@@ -340,6 +340,29 @@ jobs:
340
--mode validate \
341
-c envoy.yaml
342
343
+ doc-test:
344
+ runs-on: ubuntu-latest
345
+
346
+ steps:
347
+ - uses: actions/checkout@v4
348
349
+ - name: Install dependencies
350
+ if: ${{ env.ACT }}
351
+ run: |
352
+ curl -OL https://static.rust-lang.org/rustup/rustup-init.sh
353
+ chmod +x ./rustup-init.sh
354
+ ./rustup-init.sh -y
355
+ rm rustup-init.sh
356
+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
357
358
+ - name: Update Rust
359
360
+ rustup toolchain install stable --component clippy --component rustfmt
361
+ rustup target add wasm32-wasi
362
363
+ - name: Run Cargo Doc Test
364
+ run: cargo test --doc
365
366
reactor:
367
runs-on: ubuntu-latest
368
0 commit comments