Fix: replace nonexistent server feature flag in check.yml #65
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/check-yml-features-flag"
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?
Summary
check.ymlreferences--features server, which does not exist anywhere in this workspace. The actual cargo features arestandalone(default onlets-chat-server) andsaas; the resolver would have always failed on the existing steps. Also drops acargo check --target wasm32-unknown-unknownstep since neither workspace member targets WASM (server is Axum, desktop is Tao+Wry).Changes
clippy --features server --no-default-features --all-targets-> two steps:clippy --all-targets(workspace, default-features-on = standalone) andclippy -p lets-chat-server --no-default-features --features saasfor the saas mode.cargo check --features serverandcargo check --target wasm32-unknown-unknownremoved; the build steps below already exercise compilation.cargo build --features server --no-default-features --all-targets->cargo build --all-targets(workspace, standalone) pluscargo build -p lets-chat-server --no-default-features --features saas.cargo test --lib --features server --no-default-features->cargo test --lib -p lets-chat-server.Mirrors the local
just check+just testrecipes (which use./dev/cargo) step-for-step, just translated to the CI runner where cargo is on PATH directly.Test plan
just checkandjust teststill pass locally (no recipe changes).serverfeature flag in check.yml