@@ -164,6 +164,15 @@ jobs:
164164 key : starlingmonkey-${{matrix.build-type}}-${{ steps.starlingmonkey-commit.outputs.STARLINGMONKEY_HASH }}
165165 path : lib
166166
167+ - name : Restore Embedding Splicer from cache
168+ uses : actions/cache/restore@v4
169+ id : splicer-build
170+ with :
171+ key : splicer-${{ hashFiles('Cargo.lock', 'crates/spidermonkey-embedding-splicer/src/**/*.rs') }}
172+ path : |
173+ lib
174+ target
175+
167176 - uses : actions/setup-node@v4
168177 with :
169178 node-version : ${{matrix.node-version}}
@@ -192,6 +201,15 @@ jobs:
192201 key : starlingmonkey-release-${{ steps.starlingmonkey-commit.outputs.STARLINGMONKEY_HASH }}
193202 path : lib
194203
204+ - name : Restore Embedding Splicer from cache
205+ uses : actions/cache/restore@v4
206+ id : splicer-build
207+ with :
208+ key : splicer-${{ hashFiles('Cargo.lock', 'crates/spidermonkey-embedding-splicer/src/**/*.rs') }}
209+ path : |
210+ lib
211+ target
212+
195213 - uses : actions/setup-node@v4
196214 with :
197215 node-version : ' 23.10.0'
@@ -203,8 +221,8 @@ jobs:
203221 uses : actions/cache@v4
204222 with :
205223 path : ' examples/hello-world/host/target/release/wasmtime-test*'
206- key : example-hello-world-cargo-${{ hashFiles('examples/hello-world/host/src/main.rs',
207- ' examples/hello-world/host/Cargo.lock' ,
224+ key : example-hello-world-cargo-${{ hashFiles('examples/hello-world/host/src/main.rs',
225+ ' examples/hello-world/host/Cargo.lock' ,
208226 ' examples/hello-world/guest/hello.wit' ) }}
209227
210228 - name : Test Example
0 commit comments