chore(ci): run Check on the dev runner label #433
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/BUNYIP-444-check-dev-runner-label"
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?
The
fmt + clippy + build + testsjob compiles Rust natively on the runner, but requestedRUNS_ON_OPENSUSE_BASE_LATEST, whose image ships cargo/rustc and no C toolchain. The workflow papered over that with an "Ensure C toolchain + native deps" step that installed gcc and libopenssl-devel through zypper on every run. Switch the job toRUNS_ON_OPENSUSE_DEV_LATESTand drop the install step:ghcr.io/niceguyit/opensuse-dev:v1.7.0-leap-16.0already carries gcc-15, libopenssl-devel-3.5.0,/usr/bin/cc,/usr/bin/ldand a workingpkg-config --modversion openssl, verified against the image rather than assumed.Swept every other
runs-onin.forgejo/workflows/. build-api, build-web, e2e, e2e-pr and create-release compile nothing on the runner (the image builds happen insidedocker buildx; the E2E jobs run node/npm with--ignore-scripts), so they stay on base, each with a comment saying why. An unannotated label is indistinguishable from an unaudited one.scripts/check-runner-labels.shenforces the three properties mechanically, wired into the Check workflow andjust check: check.yml requests the dev label, no workflow installs a C toolchain or OpenSSL headers at run time, and everyruns-oncarries a reason comment.#BUNYIP-444