Skip to content

CI: Use ubuntu-slim in lightweight workflows#4488

Merged
seisman merged 2 commits intomainfrom
ci/ubuntu-slim
Apr 2, 2026
Merged

CI: Use ubuntu-slim in lightweight workflows#4488
seisman merged 2 commits intomainfrom
ci/ubuntu-slim

Conversation

@seisman
Copy link
Copy Markdown
Member

@seisman seisman commented Apr 2, 2026

Use ubuntu-slim for lightweight workflows. The following workflows are considered heavyweight and are not updated:

  • ci_docs.yml
  • ci_tests_legacy.yaml
  • ci_tests_dev.yaml
  • ci_doctests.yaml
  • ci_tests.yaml
  • benchmarks.yml

xref: https://github.blog/changelog/2026-01-22-1-vcpu-linux-runner-now-generally-available-in-github-actions/

Inspired by #4484 (comment)

@seisman seisman added this to the 0.19.0 milestone Apr 2, 2026
@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog final review call This PR requires final review and approval from a second reviewer labels Apr 2, 2026
@seisman seisman requested a review from weiji14 April 2, 2026 02:34
build:
name: Build distribution 📦
runs-on: ubuntu-latest
runs-on: ubuntu-slim
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This one for publishing I think we should keep on ubuntu-latest. Coz the slim one has a 15min timeout and we wouldn't want it to fail.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Sounds reasonable. Reverted in 842e075.

@seisman seisman merged commit 351c45a into main Apr 2, 2026
7 of 8 checks passed
@seisman seisman deleted the ci/ubuntu-slim branch April 2, 2026 08:23
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Apr 2, 2026
@seisman seisman changed the title CI: Use ubuntu-slim for lightweight workflows CI: Use ubuntu-slim in lightweight workflows Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants