Skip to content

Commit

Permalink
Merge branch 'master' into dami/change-account
Browse files Browse the repository at this point in the history
  • Loading branch information
dharjeezy authored Jan 30, 2024
2 parents 684beb3 + e5bb11b commit 754184f
Show file tree
Hide file tree
Showing 549 changed files with 8,384 additions and 6,085 deletions.
11 changes: 11 additions & 0 deletions .github/scripts/check-workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def main(root, exclude):
all_crates = get_crates(root, exclude)
print(f'📦 Found {len(all_crates)} crates in total')

check_duplicates(workspace_crates)
check_missing(workspace_crates, all_crates)
check_links(all_crates)

Expand Down Expand Up @@ -89,6 +90,16 @@ def get_crates(workspace_dir, exclude_crates) -> dict:

return crates

# Check that there are no duplicate entries in the workspace.
def check_duplicates(workspace_crates):
print(f'🔎 Checking for duplicate crates')
found = {}
for path in workspace_crates:
if path in found:
print(f'❌ crate is listed twice in the workspace {path}')
sys.exit(1)
found[path] = True

# Check that all crates are in the workspace.
def check_missing(workspace_crates, all_crates):
print(f'🔎 Checking for missing crates')
Expand Down
1 change: 0 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ default:
fi
- ls -al
- rm -f forklift.sock
- forklift clean
#
- echo "FL_FORKLIFT_VERSION ${FL_FORKLIFT_VERSION}"
- echo "FORKLIFT_PACKAGE_SUFFIX $FORKLIFT_PACKAGE_SUFFIX"
Expand Down
Loading

0 comments on commit 754184f

Please sign in to comment.