Repository navigation
Conversation
setup-swift@v2 rejects Ubuntu 26.04 (swift-actions/setup-swift#805), and ubuntu-latest now resolves to 26.04 on GitHub-hosted runners. Pin the Verify job that installs Swift via setup-swift to ubuntu-24.04 until the action supports 26.04. Other RC jobs do not need the pin. Closes apache#199.
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's Changed
swift-actions/setup-swift@v2does not support Ubuntu 26.04 yet(swift-actions/setup-swift#805).
GitHub-hosted
ubuntu-latestnow resolves to 26.04, so the RC Verifymatrix fails at the Setup Swift step with:
This pins only the Verify job (the one that uses
setup-swift) toubuntu-24.04. Other RC jobs do not install Swift through that actionand are left on
ubuntu-latest. The regular Test workflow already runsSwift via Docker and is unaffected.
Dependabot's bump to setup-swift v3 (#116) is still a beta and also
fails to set up Swift on 26.04, so pinning the runner is the workable
fix for now.
Closes #199.
AI assistance
AI assistance was used to draft this change and PR description; the
diff was reviewed before submitting.