Skip to content

Commit

Permalink
Check all features inside the library crate
Browse files Browse the repository at this point in the history
  • Loading branch information
temeddix committed Jun 18, 2024
1 parent 8d738ab commit d6affcc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/quality_control.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
working-directory: flutter_ffi_plugin/example/
run: rinf message

# Targets are basically combinations of
# web/native and debug/release.
- name: Check for errors in various targets
run: |
rustup target add wasm32-unknown-unknown
Expand All @@ -62,8 +64,10 @@ jobs:
cargo clippy --target wasm32-unknown-unknown
cargo clippy --target wasm32-unknown-unknown --release
# The `--all-features` flag doesn't work for the entire workspace.
# That's why we are checking only the library crate.
- name: Check for errors with all features enabled
working-directory: flutter_ffi_plugin/example/native/hub
working-directory: rust_crate/
run: cargo clippy --all-features

- name: Analyze code
Expand Down

0 comments on commit d6affcc

Please sign in to comment.