docs(ci): update outdated action versions and image in CI examples#4649
Open
TejasAmle wants to merge 3 commits into
Open
docs(ci): update outdated action versions and image in CI examples#4649TejasAmle wants to merge 3 commits into
TejasAmle wants to merge 3 commits into
Conversation
- Bump actions/checkout and actions/setup-python from v2 to v4 (v2 is deprecated by GitHub and will trigger deprecation warnings) - Update Azure Pipelines vmImage from ubuntu-16.04 to ubuntu-22.04 (ubuntu-16.04 reached EOL in April 2021 and is no longer available as a GitHub-hosted runner) - Fix Tox link in Travis CI section from tox.readthedocs.io to tox.wiki (the official documentation home since 2022) Signed-off-by: TejasAmle <tejas.amle71@gmail.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.
What
Updates four stale items in
docs/ci.mdthat would cause errors or deprecation warnings for users copying the examples:actions/checkout@v2→@v4— GitHub deprecated v1/v2/v3 of this action; v4 is the current recommended version.actions/setup-python@v2→@v4— Same deprecation; v4 is the current release.ubuntu-16.04→ubuntu-22.04— Ubuntu 16.04 reached EOL in April 2021 and was removed as a GitHub-hosted runner image. Copying this example as-is would fail with an image-not-found error.tox.readthedocs.io/en/latest→https://tox.wiki/en/latest/(the official documentation home since 2022; the old URL still redirects, but the canonical URL should be used).Why
Users following the CI guide and copy-pasting examples could hit:
How verified
Diff is purely additive-safe (doc-only). No logic changed. Checked that
actions/checkout@v4andactions/setup-python@v4are the current stable releases on the GitHub Marketplace. Confirmedubuntu-22.04is an available Azure Pipelines / GitHub-hosted image.