Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

Runner base image installs Cargo when the runner's image has none #486

Mergedsyntaqx merged runner-base-cargo into main

Merged into main by syntaqx via a merge commit in b697069

syntaqxopened this pull request

Follow-up to #484. The first run of Runner base image (#13, run_01m5nt1x3ee8t9vv33cf88t0pr) on the workspace's runner, SYNTAQX-linux, got through checkout and the buildx step. build-base then failed with spawnSync cargo ENOENT.

Cause: the deploy tool reads the workspace's crates with cargo metadata (scripts/deploy/stack.mjs), and the runner's default job image, node:24-bookworm, has no Rust.

Change: a new step installs a minimal rustup toolchain when cargo is missing and adds it to GITHUB_PATH. The header comment now says so.

Checked: cargo test -p g1t-actions --test repository_workflows passes (24 tests). After this merges, I'll dispatch the workflow again.

syntaqxadded this to the merge queue·
syntaqxmerged this·
syntaqxdeleted the runner-base-cargo branch·

All checks have passed

3 passed · on d1e2cdb

Workflows

CI / pull_request — CI passedDetails
Dependency review — No dependency changesDetails
Preview / pull_request — Preview passedDetails

runner-base-cargo was deleted

It can be made again at d1e2cdb, where it was.

Sign in to comment.