Skip to content

Commit

Permalink
fix(docs): add doc test ci
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Engelhardt <[email protected]>
  • Loading branch information
antonengelhardt committed Oct 13, 2024
1 parent 4f36bf1 commit 001b7d3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,29 @@ jobs:
--mode validate \
-c envoy.yaml
doc-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install dependencies
if: ${{ env.ACT }}
run: |
curl -OL https://static.rust-lang.org/rustup/rustup-init.sh
chmod +x ./rustup-init.sh
./rustup-init.sh -y
rm rustup-init.sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Update Rust
run: |
rustup toolchain install stable --component clippy --component rustfmt
rustup target add wasm32-wasi
- name: Run Cargo Doc Test
run: cargo test --doc

reactor:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 001b7d3

Please sign in to comment.