Skip to content

Commit

Permalink
Run no-default-features checks for all crates
Browse files Browse the repository at this point in the history
  • Loading branch information
agostbiro committed May 27, 2024
1 parent b6035fd commit 75b1443
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/cargo-hack-edr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e
for dir in crates/edr_*/ ; do
if [ -d "$dir" ]; then
pushd "$dir" > /dev/null
cargo hack check --feature-powerset --no-dev-deps
cargo hack check --feature-powerset --exclude-no-default-features --no-dev-deps
popd > /dev/null
fi
done
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/edr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:

- uses: Swatinem/rust-cache@v2

- name: Cargo check no default features for all crates
uses: actions-rs/cargo@v1
with:
command: check
args: --all --no-default-features

- name: Cargo hack for EDR crates
run: |
chmod +x ./.github/scripts/cargo-hack-edr.sh
Expand Down

0 comments on commit 75b1443

Please sign in to comment.