#best practice for github actions

1 messages · Page 1 of 1 (latest)

queen belfry
#

What is the best practice for github actions?
using dioxus-cli sound a bit complicated since you have to match the wasmbindgen version of the lock file.
as alternative it should work to just run cargo check --features web , cargo check --features server and cargo +nightly fmt --check.
But this would not check the formatting of the rsx! macro.
Also if you want to build releases at github actions you have to install the dioxus-cli any way.

warm saddle
#

In 0.6.1 the CLI will automatically install the required wasm bindgen based on the lock file.

The best way to use the CLI in CI is to use cargo binstall to install a prebuilt binary of the CLI. Cargo binstall has a GitHub action and a command that installs itself