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:
Kurdistan Tech Ministry committed 2026-04-22 05:06:44 +03:00
1 parent 99be20ba05
commit 482cbbb1f6
3 files changed
+59 -57

No files matched your search

+2
View File
@@ -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