Skip to content

Commit

Permalink
Merge pull request #722 from ergoplatform/update-wasm-bindgen-4gb
Browse files Browse the repository at this point in the history
update wasm-bindgen to 0.2.87
  • Loading branch information
greenhat authored Sep 20, 2023
2 parents 418e8e7 + de6310d commit c105f11
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
uses: actions/checkout@v2
- name: Generate code coverage
run: |
cargo tarpaulin --avoid-cfg-tarpaulin --timeout=360 -v --out Lcov --exclude-files 'bindings/**/*.*' --exclude-files 'ergo-rest/src/reqwest.rs' --exclude-files 'ergo-rest/src/reqwest/**/*.*' --exclude-files 'ergo-rest/src/wasm_timer.rs' --exclude-files 'ergo-rest/src/wasm_timer/**/*.*'
cargo tarpaulin --avoid-cfg-tarpaulin --timeout=360 --out lcov --exclude-files 'bindings/**/*.*' --exclude-files 'ergo-rest/src/reqwest.rs' --exclude-files 'ergo-rest/src/reqwest/**/*.*' --exclude-files 'ergo-rest/src/wasm_timer.rs' --exclude-files 'ergo-rest/src/wasm_timer/**/*.*'
- name: Push code coverage results to coveralls.io
uses: coverallsapp/github-action@master
with:
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
ports:
# Maps tcp port 9053 on service container to the host
- 9053:9053

steps:
# Need the following command to get around a GA bug where the workspace can't be cleared due
# to incorrect access permissions. This comes up due to the use of the service container
Expand All @@ -126,9 +126,9 @@ jobs:
run: |
cd bindings/ergo-lib-wasm
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get -y install nodejs
- name: run Wasm tests
run: |
cd bindings/ergo-lib-wasm
Expand All @@ -144,7 +144,7 @@ jobs:
wasm-pack build
npm install
npm run test
- name: run browser JS tests
run: |
cd bindings/ergo-lib-wasm
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ itertools = "0.10.3"
proptest = { version = "=1.0", default-features = false, features = ["std"] }
proptest-derive = "0.3"
pretty_assertions = "1.3"
wasm-bindgen-test = "0.3.10"
wasm-bindgen-test = "0.3.37"
expect-test = "1.0.1"

[profile.release]
Expand Down
6 changes: 3 additions & 3 deletions bindings/ergo-lib-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ compiler = ["ergo-lib/compiler"]

[dependencies]
base16 = { workspace = true }
serde = { workspace = true }
serde = { workspace = true }
ergo-lib = { workspace = true }
sigma-util = { workspace = true }
serde_json = { workspace = true }
Expand All @@ -42,8 +42,8 @@ derive_more = { workspace = true }
num-traits = { workspace = true }
serde_with = { workspace = true }
bounded-vec = { workspace = true, features=["serde"] }
wasm-bindgen = { version = "0.2.84", features = [] }
wasm-bindgen-futures = { version = "0.4.34" }
wasm-bindgen = { version = "0.2.87", features = [] }
wasm-bindgen-futures = { version = "0.4.37" }

[dev-dependencies]
wasm-bindgen-test = { workspace = true }
Expand Down

0 comments on commit c105f11

Please sign in to comment.