Repository navigation
CI: reusable workflows, CI images, hardening - #133
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 4 of the CI overhaul for this repository, following core#257 and runtime#120.
What moved
build_test.yml: the copied stable job and the Windows/macOS/arm matrix are replaced by the reusablerust-ci.yml(ComlineProject/.github at 797d473, SHA-pinned). It runs the stable/beta/nightly matrix on ubuntu-24.04, stable on ubuntu-24.04-arm, macos-15 and windows-2025, and a stable canary on ubuntu-26.04 that may fail without failing the run.ci-wasmimage (by digest), sorustup updateandrustup target addare gone.lint.yml(new) calls the reusable lint (actionlint and the Renovate config check);renovate.json(new) extendsgithub>ComlineProject/.github:renovate-config.rust-toolchain.toml(new): exact1.99.1, the version the CI images carry. The reusable matrix setsRUSTUP_TOOLCHAIN, which overrides the file.Hardening, every workflow
ubuntu-24.04,macos-15,windows-2025), no-latest.permissions: contents: read;contents: writeonly on the reportspublishjob.persist-credentials: falseon every checkout except the one inpublish, which pushes.timeout-minuteson every job.uses:pinned to a 40-hex SHA with a version comment (the same SHAs as core, including the observatory actions).grep -rn 'apt-get\|brew install\|choco install\|curl .*| *sh' .github/is empty.What stayed local, and why
wasm(comline-codegen for wasm32-wasip1 and wasm32-unknown-unknown, plus the two renderer binaries): the reusable workflow has no per-package wasm builds, so it stays a local job, in the wasm image.reports.yml(coverage and publish): VM jobs, because llvm-cov needs rustup components the images don't have. The observatory actions' own innertaiki-e/install-action@v2is pinned inside the observatory, not here.Things to know
Rust project - stableandtest (<os>)are nowrust / test (stable)andrust / test (<os>), and so on. If branch protection requires the old names, it needs updating (I changed no settings).Wall time (run start to finish)
The after runs do more: beta, nightly and the canary are added, and the slowest job is the cold Windows build. Warm, the pull request run is about the same as before while covering that extra work.