From 1e3fe4b4c2fdd2cf6885b64c4a4bc79b1c03ea28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Juli=C3=A1n=20Espina?= Date: Tue, 27 Jun 2023 02:44:53 +0000 Subject: [PATCH] Cache `cargo-tarpaulin` binary (#3071) * Cache `cargo-tarpaulin` binary * Action test --- .github/workflows/rust.yml | 4 ++-- boa_wasm/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2cee9db941..967f16597a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -22,10 +22,10 @@ jobs: toolchain: stable override: true profile: minimal - - uses: actions-rs/install@v0.1 + - name: Install cargo-tarpaulin + uses: baptiste0928/cargo-install@v2.1.0 with: crate: cargo-tarpaulin - version: latest - uses: Swatinem/rust-cache@v2 with: key: tarpaulin diff --git a/boa_wasm/src/lib.rs b/boa_wasm/src/lib.rs index a0ce5ba842..4957a5d4d5 100644 --- a/boa_wasm/src/lib.rs +++ b/boa_wasm/src/lib.rs @@ -71,7 +71,7 @@ fn main() { /// Evaluate the given ECMAScript code. #[wasm_bindgen] pub fn evaluate(src: &str) -> Result { - // Setup executor + // Setup the executor Context::default() .eval(Source::from_bytes(src)) .map_err(|e| JsValue::from(format!("Uncaught {e}")))