Repository navigation
build: updated ubuntu version to latest - #182
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the Ubuntu runner version in GitHub Actions workflows from the specific version ubuntu-24.04 to the floating tag ubuntu-latest. The change is applied to both the PyPI publishing and CI workflows.
- Replaces pinned Ubuntu version
ubuntu-24.04withubuntu-latestin workflow runners - Updates both the PyPI publishing workflow and the main CI workflow
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/pypi-publish.yml |
Updates the runner from ubuntu-24.04 to ubuntu-latest for the push job |
.github/workflows/ci.yml |
Updates the matrix OS from ubuntu-24.04 to ubuntu-latest for CI jobs |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| strategy: | ||
| matrix: | ||
| os: [ubuntu-24.04] | ||
| os: [ubuntu-latest] |
There was a problem hiding this comment.
Using ubuntu-latest instead of a specific version like ubuntu-24.04 can lead to unpredictable CI behavior. When GitHub updates what ubuntu-latest points to, your workflows may break without any code changes in your repository. This violates the principle of reproducible builds and makes debugging CI failures more difficult. Consider keeping a specific version for better stability and control over when to upgrade.
| os: [ubuntu-latest] | |
| os: [ubuntu-24.04] |
|
|
||
| push: | ||
| runs-on: ubuntu-24.04 | ||
| runs-on: ubuntu-latest |
There was a problem hiding this comment.
Using ubuntu-latest instead of a specific version like ubuntu-24.04 can lead to unpredictable CI behavior. When GitHub updates what ubuntu-latest points to, your workflows may break without any code changes in your repository. This violates the principle of reproducible builds and makes debugging CI failures more difficult. Consider keeping a specific version for better stability and control over when to upgrade.
| runs-on: ubuntu-latest | |
| runs-on: ubuntu-24.04 |
55ea92b to
971ef7b
Compare
Description
Updating the latest version of ubuntu
Ticket Reference
https://2u-internal.atlassian.net/browse/BOMS-285