bytecodealliance / javy

JS to WebAssembly toolchain
Apache License 2.0
2.06k stars 100 forks source link

Update `wasmtime` version in CI #682

Closed saulecabrera closed 1 week ago

saulecabrera commented 1 week ago

This commit updates the wasmtime version used in CI, which is currently a very outdated version. The new version matches the version used in the CLI.

Additionally, this commit introduces a mechanism to retrieve the wasmtime CLI version from cargo metadata through jq

Checklist

saulecabrera commented 1 week ago

One alternative is to read the wasmtime version from the Cargo.toml directly. It's probably a bit more involved, but such approach will guarantee that the wasmtime versions will be in sync. I'm defaulting to the current approach for now; we can always come back and adjust. Found a nicer way of using cargo metadata + jq to solve the sync issue.