-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add dependencies list for all packages (#3743)
Signed-off-by: Xuanwo <[email protected]> Co-authored-by: tison <[email protected]>
- Loading branch information
Showing
46 changed files
with
4,466 additions
and
13 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 |
---|---|---|
|
@@ -26,6 +26,8 @@ inputs: | |
description: "This setup needs nextest or not" | ||
need-protoc: | ||
description: "This setup needs protoc or not" | ||
need-deny: | ||
description: "This setup needs cargo-deny or not" | ||
github-token: | ||
description: "Github Token" | ||
default: "" | ||
|
@@ -76,6 +78,21 @@ runs: | |
shell: bash | ||
run: cargo install [email protected] --locked | ||
|
||
- name: Cache cargo-deny on linux | ||
id: cache-deny | ||
uses: actions/cache@v3 | ||
if: inputs.need-deny == 'true' | ||
with: | ||
path: | | ||
~/.cargo/bin/cargo-deny | ||
~/.cargo/bin/cargo-deny.exe | ||
key: r0-${{runner.os}}-deny-0.14.3 | ||
|
||
- name: Build cargo-deny if not cached | ||
if: steps.cache-deny.outputs.cache-hit != 'true' && inputs.need-deny == 'true' | ||
shell: bash | ||
run: cargo install [email protected] --locked | ||
|
||
- name: Setup rust on linux | ||
if: runner.os == 'Linux' && inputs.need-rocksdb == 'true' | ||
shell: bash | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# OpenDAL Dependencies | ||
|
||
Please visit every package's `DEPENDENCIES.md` for a full list of dependencies. | ||
|
||
## Check | ||
|
||
To check and generate dependencies list of any package of opendal, please run: | ||
|
||
```bash | ||
python3 ./scripts/dependencies.py check | ||
``` | ||
|
||
## Generate | ||
|
||
To update the dependencies list of every package, please run: | ||
|
||
```bash | ||
python3 ./scripts/dependencies.py generate | ||
``` |
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,3 @@ | ||
# Dependencies | ||
|
||
Refer to [DEPENDENCIES.rust.tsv](DEPENDENCIES.rust.tsv) for full list. |
Oops, something went wrong.