mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-20 18:56:23 +00:00
fix(ci): fix taplo formatting and skip .cargo dir in workspace check
taplo.toml and deny.toml were using 2-space indent; taplo requires tabs. check-workspace.py now skips .cargo the same way it skips target/ — prevents 1000+ registry crates from being flagged as missing from workspace when GitLab cache restores .cargo into the project directory.
This commit is contained in:
1 parent
99be20ba05
commit
482cbbb1f6
3 files changed
+59
-57
No files matched your search
@@ -66,6 +66,8 @@ def get_crates(workspace_dir, exclude_crates) -> dict:
|
||||
for root, _dirs, files in os.walk(workspace_dir):
|
||||
if "target" in root:
|
||||
continue
|
||||
if ".cargo" in os.path.relpath(root, workspace_dir).split(os.sep):
|
||||
continue
|
||||
for file in files:
|
||||
if file != "Cargo.toml":
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user