Fix CI pipeline — clippy, fmt, and Rhai runner #104
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_lib!104
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_ci_fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
ci_rhai.sh: binary nameherodo→hero_do(broken since snake_case rename in PR #99)ci_rust.sh: update package list to match current workspace, disable 4 broken packages (osis, os, virt, sid) for gradual re-enablementcargo fmtformatting —cargo fmt --checknow exits 0types.rsfor osis basic example (was blockingcargo fmt)Clippy fixes include:
strip_prefix/strip_suffixinstead of manualstarts_with+ slicing#[derive(Default)]instead of manualimpl DefaultFromStrtrait implementations replacing inherentfrom_strmethods#[allow(...)]for intentional patterns (await_holding_lock, too_many_arguments, dead_code on generated code)Disabled packages (fix separately):
herolib_osis— test compilation errors (removed types still referenced)herolib_os— 2 git URL assertion failuresherolib_virt— broken doctest (nerdctl)herolib_sid— broken doctests (E0433)Closes #103
Test plan
cargo fmt --check+cargo clippy --workspace -- -D warnings)hero_dobinary correctlycargo check --workspaceWIP: Fix CI pipeline — clippy, fmt, and Rhai runnerto Fix CI pipeline — clippy, fmt, and Rhai runner@thabeta now the build and test passes in CI.
I put
.disabledfor the 2 CI files related to macOS since we do not have macOS runner. If I should do something else, let me know. Thanks!That's great! thank you!