CI build should fail, if crates are not part of workspace #477
Labels
good first issue
Good for newcomers
topic: build
Anything relating to the build system.
type: development
Work to ease development or maintenance, without direct effect on features or bugs
As of #475 crates are organized into different directories. All crates that are targeted at ecosystem or end users are in
crates/
, internal tools are intools/
, and as before, all models are still inmodels/
.There are some rules that should be checked as part of the CI build, to prevent mistakes:
workspace.members
list inCargo.toml
.crates/
directory should in addition be part of theworkspace.default-members
list.This could be added to the CI configuration as an additional job. That job can run only on Linux, like the Format and Clippy Check jobs. If this isn't easy to do only with GitHub Actions, we can add a new Rust program to
tools/
, and call that from the job usingactions-rs/cargo
(other jobs are already doing this).Labeling as https://github.com/hannobraun/Fornjot/labels/good%20first%20issue, since this doesn't require lots of knowledge of Fornjot, and could serve as an introduction to the project.
Related issue: #478
The text was updated successfully, but these errors were encountered: