1919 lint :
2020 runs-on : ubuntu-latest
2121 steps :
22- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
22+ - uses : actions/checkout@v4
2323 - name : Install Rust
2424 run : |
2525 rustup update stable
@@ -41,23 +41,23 @@ jobs:
4141 - ' 22'
4242 - latest
4343 steps :
44- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
44+ - uses : actions/checkout@v4
4545
4646 - name : Install Rust Toolchain
4747 run : |
4848 rustup toolchain install 1.77.1
4949 rustup target add wasm32-wasi --toolchain 1.77.1
5050 rustup target add wasm32-wasi
5151
52- - uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # 4.1.0
52+ - uses : actions/setup-node@v4
5353 with :
5454 node-version : ${{matrix.node-version}}
5555
5656 - name : Install NPM packages
5757 run : npm install
5858
5959 - name : Cache Splicer build
60- uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # 4.1.2
60+ uses : actions/cache@v4
6161 id : splicer-build
6262 with :
6363 key : output-splicer-node-${{matrix.node-version}}-${{ hashFiles('Cargo.lock', 'crates/spidermonkey-embedding-splicer/src/**/*.rs') }}
8484 - ' 22'
8585 - latest
8686 steps :
87- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
87+ - uses : actions/checkout@v4
8888 with :
8989 submodules : recursive
9090
9999 rustup target add wasm32-wasi
100100
101101 - name : Restore Embedding Splicer from cache
102- uses : actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # 4.1.2
102+ uses : actions/cache/restore@v4
103103 id : splicer-build
104104 with :
105105 key : output-splicer-node-${{matrix.node-version}}-${{ hashFiles('Cargo.lock', 'crates/spidermonkey-embedding-splicer/src/**/*.rs') }}
@@ -110,15 +110,15 @@ jobs:
110110 lib/spidermonkey-embedding-splicer.js
111111 target
112112
113- - uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # 4.1.0
113+ - uses : actions/setup-node@v4
114114 with :
115115 node-version : ${{matrix.node-version}}
116116
117117 - name : Install NPM packages
118118 run : npm install
119119
120120 - name : Cache StarlingMonkey
121- uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # 4.1.2
121+ uses : actions/cache@v4
122122 id : starlingmonkey-jit
123123 with :
124124 key : output-starlingmonkey-jit-node-${{matrix.node-version}}-${{ steps.starlingmonkey-commit.outputs.STARLINGMONKEY_HASH }}
@@ -152,7 +152,7 @@ jobs:
152152 - ' 22'
153153 - latest
154154 steps :
155- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
155+ - uses : actions/checkout@v4
156156 with :
157157 submodules : recursive
158158
@@ -167,7 +167,7 @@ jobs:
167167 rustup target add wasm32-wasi
168168
169169 - name : Restore Embedding Splicer from cache
170- uses : actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # 4.1.2
170+ uses : actions/cache/restore@v4
171171 id : splicer-build
172172 with :
173173 key : output-splicer-node-${{matrix.node-version}}-${{ hashFiles('Cargo.lock', 'crates/spidermonkey-embedding-splicer/src/**/*.rs') }}
@@ -178,15 +178,15 @@ jobs:
178178 lib/spidermonkey-embedding-splicer.js
179179 target
180180
181- - uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # 4.1.0
181+ - uses : actions/setup-node@v4
182182 with :
183183 node-version : ${{matrix.node-version}}
184184
185185 - name : Install NPM packages
186186 run : npm install
187187
188188 - name : Cache StarlingMonkey (Weval)
189- uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # 4.1.2
189+ uses : actions/cache@v4
190190 id : starlingmonkey-aot
191191 with :
192192 key : output-starlingmonkey-aot-node-${{matrix.node-version}}-${{ steps.starlingmonkey-commit.outputs.STARLINGMONKEY_HASH }}
@@ -226,14 +226,14 @@ jobs:
226226 - ' 22'
227227 - latest
228228 steps :
229- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
229+ - uses : actions/checkout@v4
230230
231231 - name : Get StarlingMonkey Commit
232232 id : starlingmonkey-commit
233233 run : echo "STARLINGMONKEY_HASH=$(git submodule status | head -c9 | tail -c8)" >> "$GITHUB_OUTPUT"
234234
235235 - name : Restore Embedding Splicer from cache
236- uses : actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # 4.1.2
236+ uses : actions/cache/restore@v4
237237 id : splicer-build
238238 with :
239239 key : output-splicer-node-${{matrix.node-version}}-${{ hashFiles('Cargo.lock', 'crates/spidermonkey-embedding-splicer/src/**/*.rs') }}
@@ -245,7 +245,7 @@ jobs:
245245 target
246246
247247 - name : Restore StarlingMonkey from cache
248- uses : actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # 4.1.2
248+ uses : actions/cache/restore@v4
249249 id : starlingmonkey-jit
250250 with :
251251 key : output-starlingmonkey-jit-node-${{matrix.node-version}}-${{ steps.starlingmonkey-commit.outputs.STARLINGMONKEY_HASH }}
@@ -258,7 +258,7 @@ jobs:
258258 with :
259259 name : starlingmonkey-jit-node-${{matrix.node-version}}-${{ steps.starlingmonkey-commit.outputs.STARLINGMONKEY_HASH }}
260260
261- - uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # 4.1.0
261+ - uses : actions/setup-node@v4
262262 with :
263263 node-version : ${{matrix.node-version}}
264264
@@ -290,14 +290,14 @@ jobs:
290290 env :
291291 ENABLE_AOT : " 1"
292292 steps :
293- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
293+ - uses : actions/checkout@v4
294294
295295 - name : Get StarlingMonkey Commit
296296 id : starlingmonkey-commit
297297 run : echo "STARLINGMONKEY_HASH=$(git submodule status | head -c9 | tail -c8)" >> "$GITHUB_OUTPUT"
298298
299299 - name : Restore Embedding Splicer from cache
300- uses : actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # 4.1.2
300+ uses : actions/cache/restore@v4
301301 id : splicer-build
302302 with :
303303 key : output-splicer-node-${{matrix.node-version}}-${{ hashFiles('Cargo.lock', 'crates/spidermonkey-embedding-splicer/src/**/*.rs') }}
@@ -309,7 +309,7 @@ jobs:
309309 target
310310
311311 - name : Restore StarlingMonkey (Weval) from cache
312- uses : actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # 4.1.2
312+ uses : actions/cache/restore@v4
313313 id : starlingmonkey-aot
314314 with :
315315 key : output-starlingmonkey-aot-node-${{matrix.node-version}}-${{ steps.starlingmonkey-commit.outputs.STARLINGMONKEY_HASH }}
@@ -323,7 +323,7 @@ jobs:
323323 with :
324324 name : starlingmonkey-aot-node-${{matrix.node-version}}-${{ steps.starlingmonkey-commit.outputs.STARLINGMONKEY_HASH }}
325325
326- - uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # 4.1.0
326+ - uses : actions/setup-node@v4
327327 with :
328328 node-version : ${{matrix.node-version}}
329329
@@ -334,7 +334,7 @@ jobs:
334334 run : npm run test:weval
335335
336336 - name : Cache Example build
337- uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # 4.1.2
337+ uses : actions/cache@v4
338338 with :
339339 path : example/target
340340 key : output-example-aot-cargo-${{ hashFiles('example/src/main.rs', 'example/Cargo.lock', 'example/hello.wit') }}
0 commit comments