Skip to content

Conversation

@egor-yudkin
Copy link
Contributor

Purpose

GitHub Actions deprecates ubuntu-20.04 image. The image will be fully unsupported by 2025-04-01.
Here is more information: actions/runner-images#11101

This PR changes the version of Ubuntu runner to the latest LTS release 24.04.

Does this introduce a breaking change?

[ ] Yes
[x] No

Does this require changes to learn.microsoft.com docs?

[ ] Yes
[x] No

Type of change

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[x] Other... Please describe: Dependency upgrade

Code quality checklist

See CONTRIBUTING.md for more details.

  • The current tests all pass (python -m pytest).
  • I added tests that prove my fix is effective or that my feature works
  • I ran python -m pytest --cov to verify 100% coverage of added lines
  • I ran python -m mypy to check for type errors
  • I either used the pre-commit hooks or ran ruff and black manually on my code.

@pamelafox
Copy link
Collaborator

Thank you! Would it be better to just use ubuntu latest? I didn't even realize I had a specific ubuntu version there.

@egor-yudkin
Copy link
Contributor Author

Sure, we can just use latest. I just wasn't sure if using the specific version tag was deliberate...

@egor-yudkin egor-yudkin changed the title Upgrade Ubuntu runner for tests in Github Workflow to 24.04 Upgrade Ubuntu runner for tests in Github Workflow to latest Mar 17, 2025
@pamelafox pamelafox merged commit df63e64 into Azure-Samples:main Mar 17, 2025
1 check passed
hasithb pushed a commit to hasithb/azure-search-openai-demo that referenced this pull request Oct 19, 2025
…-Samples#2428)

* Upgrade ubuntu image version to 22.04 for python test workflow

* Upgrade ubuntu image version to 24.04 for python test workflow

* Change ubuntu image version tag to "latest" for python test workflow
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.

2 participants