Skip to content

release: 0.5.4 — fix #148, shared top-level text dropped on partial-e… #108

release: 0.5.4 — fix #148, shared top-level text dropped on partial-e…

release: 0.5.4 — fix #148, shared top-level text dropped on partial-e… #108

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all --check
- run: cargo clippy --workspace --all-targets -- -D warnings
- run: cargo test --workspace
# The in-tree behaviour suite, named explicitly. `cargo test --workspace`
# above already runs it, but only implicitly: if these files were ever
# moved or renamed, that step would keep passing while testing nothing of
# the merge's actual behaviour. Naming the targets makes that a hard
# failure instead of a silent one.
- name: In-tree behaviour suite (must exist, must run)
run: |
cargo test -p weave-core --test public_properties
cargo test -p weave-driver --test public_properties