Skip to content

Update examples/production_deployment.rs #42

Update examples/production_deployment.rs

Update examples/production_deployment.rs #42

Workflow file for this run

name: CI (develop)
on:
pull_request:
branches: [develop]
push:
branches: [develop]
jobs:
ci:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: Swatinem/rust-cache@v2
with:
workspaces: . -> target
- name: Format (check)
run: cargo fmt --all -- --check
- name: Clippy (deny warnings)
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Unit + integration tests
run: cargo test --all-features
- name: Doctests (rustdoc)
run: cargo test --doc
# Temporarily disabled until mdBook doctest dependency issues are resolved
# - name: Install mdBook + plugins
# run: |
# cargo install mdbook mdbook-linkcheck mdbook-admonish mdbook-mermaid || true
# - name: mdBook tests (docs/)
# if: hashFiles('docs/**/*.md') != ''
# run: mdbook test docs