Skip to content

Switch to ubuntu-slim for small CI jobs#3446

Merged
jakebailey merged 1 commit into
mainfrom
jabaile/ubuntu-slim
Apr 20, 2026
Merged

Switch to ubuntu-slim for small CI jobs#3446
jakebailey merged 1 commit into
mainfrom
jabaile/ubuntu-slim

Conversation

@jakebailey
Copy link
Copy Markdown
Member

See: https://github.blog/changelog/2025-10-28-1-vcpu-linux-runner-now-available-in-github-actions-in-public-preview/

These runners are containers with worse perf, but are good for small tasks.

Copilot AI review requested due to automatic review settings April 20, 2026 18:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the CI workflow to run smaller, lightweight jobs on GitHub Actions’ new ubuntu-slim runner (container-based 1-vCPU Linux runner) to reduce resource usage for non-heavy tasks.

Changes:

  • Switch format job runner from ubuntu-latest to ubuntu-slim.
  • Switch tidy job runner from ubuntu-latest to ubuntu-slim.
  • Switch required (job aggregator) runner from ubuntu-latest to ubuntu-slim.

Comment thread .github/workflows/ci.yml
Comment on lines 358 to 360
required:
runs-on: ubuntu-latest
runs-on: ubuntu-slim
if: ${{ always() }}
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switching required to ubuntu-slim increases the chance that preinstalled tooling differs from ubuntu-latest. This job’s only step pipes JSON into jq, but jq isn’t installed explicitly; if the slim runner image doesn’t include it, the workflow will fail. Consider installing jq in the job (or rewriting the check to avoid external tooling).

Copilot uses AI. Check for mistakes.
@jakebailey jakebailey added this pull request to the merge queue Apr 20, 2026
Merged via the queue into main with commit 5a4e6db Apr 20, 2026
25 checks passed
@jakebailey jakebailey deleted the jabaile/ubuntu-slim branch April 20, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants