Skip to content

Commit

Permalink
Cache cargo-tarpaulin binary (#3071)
Browse files Browse the repository at this point in the history
* Cache `cargo-tarpaulin` binary

* Action test
  • Loading branch information
jedel1043 committed Jun 27, 2023
1 parent 1be62c9 commit 1e3fe4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion boa_wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ fn main() {
/// Evaluate the given ECMAScript code.
#[wasm_bindgen]
pub fn evaluate(src: &str) -> Result<String, JsValue> {
// Setup executor
// Setup the executor
Context::default()
.eval(Source::from_bytes(src))
.map_err(|e| JsValue::from(format!("Uncaught {e}")))
Expand Down

0 comments on commit 1e3fe4b

Please sign in to comment.