- name: check with different features
image: clux/muslrust:1.59.0
commands:
- # api with minimal deps
- - cargo check -p lemmy_api_common
- # opentelemetry console
- - cargo check --features console
- # default features
- - cargo check
+ - cargo install cargo-workspaces
+ - cargo workspaces exec cargo check --no-default-features
+ - cargo workspaces exec cargo check --all-features
- name: cargo clippy
image: clux/muslrust:1.59.0