Both .github/workflows/ci.yml and .github/workflows/release-hash.yml cross-compile to wasm32-unknown-unknown, but the Swatinem/rust-cache configuration does not explicitly include the WASM target build artefacts or the soroban-sdk crate under that target. Every CI run re-builds the standard library for WASM from scratch, lengthening PR validation by minutes. Add a target-specific cache key that captures target/wasm32-unknown-unknown and the Cargo registry state for the WASM triple so subsequent runs benefit from the cache. Verify by running the workflow on a clean runner and on a warmed runner and reporting the wall-clock delta.
Both
.github/workflows/ci.ymland.github/workflows/release-hash.ymlcross-compile towasm32-unknown-unknown, but theSwatinem/rust-cacheconfiguration does not explicitly include the WASM target build artefacts or thesoroban-sdkcrate under that target. Every CI run re-builds the standard library for WASM from scratch, lengthening PR validation by minutes. Add a target-specific cache key that capturestarget/wasm32-unknown-unknownand the Cargo registry state for the WASM triple so subsequent runs benefit from the cache. Verify by running the workflow on a clean runner and on a warmed runner and reporting the wall-clock delta.