Run CI on Ubicloud runners, and add a cargo audit job - #5
Merged
Merged
Conversation
CI across ~/code runs on Ubicloud; `ubuntu-latest` here was billing GitHub Actions minutes instead. Switched to `ubicloud-standard-2`. Sized deliberately rather than copied: the heavier repos use `-8`, but this crate's whole check job finishes in about 40 seconds, and Ubicloud bills by vCPU-minute, so a larger runner would cost more for no wall-clock gain. WorkTable uses `-2` for the same reason. Added a `cargo audit` job, matching honey_id-types, the closest analogue as another published library. Worth having now that this crate is on crates.io: an advisory against tokio or serde reaches every consumer and nothing else in CI would notice. It runs on `-2` since it is a lookup, not a build. Recorded the runner rule in AGENTS.md so it survives the next person reaching for `ubuntu-latest` out of habit, including the part that bites on new repos: Ubicloud has to be enabled per repository or workflows queue forever.
This was referenced Jul 28, 2026
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.
CI across
~/coderuns on Ubicloud; this repo was still onubuntu-latestand billing GitHub Actions minutes.runs-on: ubicloud-standard-2for the check job. Sized rather than copied: the heavier repos use-8, but this crate's whole job finishes in ~40s and Ubicloud bills by vCPU-minute, so a bigger runner costs more for no wall-clock gain. WorkTable uses-2on the same reasoning.cargo auditjob viarustsec/audit-check@v2, matchinghoney_id-typesas the closest analogue (another published library). Now that this crate is on crates.io, an advisory againsttokioorserdereaches every consumer and nothing else in CI would catch it.Swatinem/rust-cache@v2kept: it works on Ubicloud and is the Rust-aware option.ubicloud/cache@v4is the drop-in for raw path caching, which is whatapi.support.cafeuses for apt and target dirs, but this crate has nothing that needs it.This PR is its own test. If the checks run at all, the runners are wired up; if they queue, Ubicloud is not enabled for this repo yet.