chore(ci): install publish build targets#687
Conversation
|
Warning Review limit reached
More reviews will be available in 11 minutes and 16 seconds. Learn how PR review limits work. To continue reviewing without waiting, enable usage-based billing in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryAdds a
Confidence Score: 5/5The change is a single three-line CI step addition with a well-scoped conditional; it cannot break existing builds and only improves reliability of the non-default targets. The added step is idempotent ( No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "chore(ci): install publish build targets" | Re-trigger Greptile |
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [usage](https://github.com/jdx/usage) | patch | `3.5.0` → `3.5.2` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>jdx/usage (usage)</summary> ### [`v3.5.2`](https://github.com/jdx/usage/blob/HEAD/CHANGELOG.md#352---2026-06-17) [Compare Source](jdx/usage@v3.5.0...v3.5.2) ##### 🔍 Other Changes - **(ci)** install publish build targets by [@​jdx](https://github.com/jdx) in [#​687](jdx/usage#687) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMTguMCIsInVwZGF0ZWRJblZlciI6IjQzLjIxOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiLCJhdXRvbWF0aW9uOmJvdC1hdXRob3JlZCIsImRlcGVuZGVuY3ktdHlwZTo6cGF0Y2giXX0=-->
Summary
upload-rust-binary-actionuniversal-apple-darwintarget because it is not a rustup targetRoot Cause
The v3.5.1 publish job for
x86_64-unknown-linux-muslfailed aftercrossfell back to hostcargo:Installing the matrix target up front makes host-cargo fallback work for musl and other non-default targets.
Failed job: https://github.com/jdx/usage/actions/runs/27660960261/job/81805071490
Validation
actionlint .github/workflows/publish-cli.ymlThis PR was generated by an AI coding assistant.
Note
Low Risk
CI-only workflow change with no runtime or application code impact.
Overview
Fixes publish-cli matrix builds that fail when
crossfalls back to hostcargowithout the target installed (e.g.x86_64-unknown-linux-muslwith “can't find crate forcore”).Adds an Install Rust target step right after the stable toolchain setup:
rustup target add ${{ matrix.target }}for every matrix entry exceptuniversal-apple-darwin, which is a synthetic fat-binary target and not a rustup triple.Reviewed by Cursor Bugbot for commit eb805dd. Bugbot is set up for automated code reviews on this repo. Configure here.