Skip to content

Commit

Permalink
fix(ci): leptos examples fail with bindgen schema error (#2428)
Browse files Browse the repository at this point in the history
  • Loading branch information
agilarity authored Mar 14, 2024
1 parent 4faf3fa commit 97fd8ff
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/run-cargo-make-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ jobs:

- uses: Swatinem/rust-cache@v2

- name: Install binstall
uses: cargo-bins/cargo-binstall@main

- name: Install wasm-bindgen
run: cargo binstall wasm-bindgen-cli --no-confirm

- name: Install cargo-leptos
run: cargo binstall cargo-leptos --no-confirm

- name: Install Trunk
uses: jetli/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion examples/counter_isomorphic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ leptos_router = { path = "../../router" }
log = "0.4"
once_cell = "1.18"
gloo-net = { git = "https://github.com/rustwasm/gloo" }
wasm-bindgen = "0.2.87"
wasm-bindgen = "0.2"
serde = { version = "1", features = ["derive"] }
simple_logger = "4.3"
tracing = { version = "0.1", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion examples/counter_without_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ log = "0.4"
console_error_panic_hook = "0.1.7"

[dev-dependencies]
wasm-bindgen = "0.2.84"
wasm-bindgen = "0.2"
wasm-bindgen-test = "0.3.34"
pretty_assertions = "1.3.0"
rstest = "0.17.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/counters_stable/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ console_log = "1"
console_error_panic_hook = "0.1.7"

[dev-dependencies]
wasm-bindgen = "0.2.87"
wasm-bindgen = "0.2"
wasm-bindgen-test = "0.3.37"
pretty_assertions = "1.4.0"

Expand Down
2 changes: 1 addition & 1 deletion examples/suspense_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ leptos_actix = { path = "../../integrations/actix", optional = true }
leptos_router = { path = "../../router" }
log = "0.4"
simple_logger = "4"
wasm-bindgen = "0.2.87"
wasm-bindgen = "0.2"
serde = "1.0.159"
tokio = { version = "1.29", features = ["time", "rt"], optional = true }

Expand Down
2 changes: 0 additions & 2 deletions leptos/tests/ssr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,5 +206,3 @@ fn ssr_option() {

runtime.dispose();
}

// TODO: remove simulated change

0 comments on commit 97fd8ff

Please sign in to comment.