Problem
Contract changes are never automatically validated in CI. A broken snapshot test can be merged without being caught.
Scope
Add .github/workflows/contracts.yml running cargo clippy and cargo test.
Acceptance criteria
cargo clippy -- -D warnings fails on any warning
cargo test runs all unit and snapshot tests
- Cargo cache used to speed up builds
- WASM binary size reported in workflow summary
- Required status check for contract file changes
Complexity: Easy · 100 points
Problem
Contract changes are never automatically validated in CI. A broken snapshot test can be merged without being caught.
Scope
Add
.github/workflows/contracts.ymlrunningcargo clippyandcargo test.Acceptance criteria
cargo clippy -- -D warningsfails on any warningcargo testruns all unit and snapshot testsComplexity: Easy · 100 points