forked from GreptimeTeam/greptimedb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove openssl deps (GreptimeTeam#5079)
* chore: remove openssl deps * ci: add ci task to check blacklisted dependencies
- Loading branch information
Showing
4 changed files
with
55 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
native-tls | ||
openssl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Check Dependencies | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check-dependencies: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
|
||
- name: Run cargo tree | ||
run: cargo tree --prefix none > dependencies.txt | ||
|
||
- name: Extract dependency names | ||
run: awk '{print $1}' dependencies.txt > dependency_names.txt | ||
|
||
- name: Check for blacklisted crates | ||
run: | | ||
while read -r dep; do | ||
if grep -qFx "$dep" dependency_names.txt; then | ||
echo "Blacklisted crate '$dep' found in dependencies." | ||
exit 1 | ||
fi | ||
done < .github/cargo-blacklist.txt | ||
echo "No blacklisted crates found." |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters