ci: call cargo_env after sourcing build_lib.sh so cargo is on PATH #1
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_cluster!1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_mik"
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?
Fixes the silent CI red on
development: every run bails immediately at the firstmakecall withcargo: No such file or directory. The shell exec context for each step does not auto-source~/.cargo/env. Same fix already proven on hero_archipelagos and other green repos.No behavioural change on hosts where cargo is already on PATH.
Signed-off-by: mik-tf
Same bug fixed in hero_editor: `git clone --depth 1` without --branch defaults to the repo's default branch (development), and the SHA-based fallback didn't fire because Forgejo's runner appears to leave \${{ github.event.pull_request.head.sha }} empty. So CI was silently running against `development`'s HEAD instead of the development_mik branch tip. Switch to --branch \$GITHUB_HEAD_REF / \$GITHUB_REF_NAME — same shape hero_voice and the updated hero_skills/tools/docs/forgejo_ci.md §2 recommend. Signed-off-by: mik-tfView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.