Skip to content

Commit

Permalink
Test to ensure openssl is not a dep of ndc-sdk-core
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-chambers committed Sep 3, 2024
1 parent 3d80336 commit 4f25739
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,13 @@ jobs:

- name: run tests
run: cargo test --release --all-targets --all-features

- name: check openssl is not a dependency of ndc-sdk-core
run: |
output=$(cargo tree -i openssl --no-dedupe --no-default-features -e no-dev)
echo "$output"
if echo "$output" | grep -q ndc-sdk-core; then
echo "openssl was found as a dependency of ndc-sdk-core"
echo "This should be fixed. openssl dependencies make it hard to make binaries with minimal dynamically linked dependencies such as connector CLI plugins"
exit 1
fi

0 comments on commit 4f25739

Please # to comment.