Repository navigation
Run lightweight CI jobs on ubuntu-slim - #20
Merged
Merged
Conversation
Those jobs only need Go, git, and a few minutes, so the 1-vCPU runner is enough. Image builds stay on a full VM because ubuntu-slim has no Docker daemon. Co-authored-by: Cursor <cursoragent@cursor.com>
Pick up the certificate, auth, and toolchain fixes so lint and govulncheck run against current main.
go-test-coverage is a container action, and ubuntu-slim has no Docker daemon. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
ubuntu-slimis a 1-vCPU runner with a 15-minute job limit. The lint, format, dependency, test, coverage, and build jobs fit that, as do the release binary build, the GitHub release step, and deployment cleanup. Each of those jobs usesactions/setup-goor the GitHub CLI, both of which the slim image supports.The container image job stays on
ubuntu-latest.ubuntu-slimruns unprivileged and has no Docker daemon, so Buildx cannot build or push the image there. macOS and Windows test and build legs are unchanged.Test plan
ubuntu-slimrelease-runlabeled pull request still adds the macOS and Windows legsv*.*.*tag still publishes the GHCR image from theubuntu-latestjobMade with Cursor