CI: align Dioxus CLI version with Dioxus crate version #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
GitHub Pages and local Playwright runs currently build successfully, but
dx servelogs a version mismatch:This is not user-facing today, but the showcase and release flow should not rely on a mismatched Dioxus CLI.
Desired behavior
Pin or install a
dioxus-cliversion compatible with the crate'sdioxusdependency, and use the same approach where the showcase is built in CI.Acceptance criteria
dxversion.Signed-by: mik-tf mik-tf@noreply.invalid
Implemented in
5f7647dand3e70893.Changes:
tools/install-dioxus-cli.shto install thedioxus-cliversion matching the resolveddioxuspackage from Cargo metadata.dx serve.tools/README.md.Validation:
dioxus-cli 0.7.9and skips when already installed.dioxus 0.7.9through Cargo metadata.npm run test:e2e -- --reporter=listpassed, 48/48.dx build --release --base-path dioxus-bootstrap-csscompleted successfully without CLI/framework mismatch.Signed-by: mik-tf mik-tf@noreply.invalid