Skip to content

fix hosted Rust CI setup ordering - #105

Open
odyslam wants to merge 1 commit into
mainfrom
codex/hosted-rust-private-deps
Open

fix hosted Rust CI setup ordering#105
odyslam wants to merge 1 commit into
mainfrom
codex/hosted-rust-private-deps

Conversation

@odyslam

@odyslam odyslam commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • disable the not-yet-installed sccache wrapper during private dependency prefetches
  • install and run cargo-deny natively so it can reuse the authenticated prefetch on hosted runners
  • preserve the existing short-lived private-dependency credential boundary

Validation

  • git diff --check
  • actionlint .github/workflows/rust-base.yaml reaches one pre-existing dynamic services.volumes type warning at line 152

This unblocks phylaxsystems/pcl#115 after moving public-repository CI off privileged self-hosted ARC runners.

Resolves ENG-4654

if: ${{ inputs.deny-preinstalled == true }}
- name: Install cargo-binstall
if: ${{ inputs.deny-preinstalled != true }}
uses: cargo-bins/cargo-binstall@732870f031d2fb36309d0deaf36abcc704a7be65 # v1.20.1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The action reference is pinned, but its version input is omitted, so it downloads the latest cargo binstall binary. The following command also installs the latest cargo deny release. That leaves this organization wide reusable workflow able to change without a commit here. Please pin both tool versions so the workflow stays reproducible and the pinned action reference provides the intended supply chain boundary.

@linear-code

linear-code Bot commented Aug 18, 2026

Copy link
Copy Markdown

ENG-4654

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants