Skip to content

fix: pin RC verify job to ubuntu-24.04 for setup-swift - #200

Open
ump45nose wants to merge 1 commit into
apache:mainfrom
ump45nose:fix/199-rc-verify-ubuntu-24.04
Open

ump45nose wants to merge 1 commit into
apache:mainfrom
ump45nose:fix/199-rc-verify-ubuntu-24.04

Conversation

@ump45nose

Copy link
Copy Markdown

What's Changed

swift-actions/setup-swift@v2 does not support Ubuntu 26.04 yet
(swift-actions/setup-swift#805).
GitHub-hosted ubuntu-latest now resolves to 26.04, so the RC Verify
matrix fails at the Setup Swift step with:

Error: Version "26.04" of Ubuntu is not supported

This pins only the Verify job (the one that uses setup-swift) to
ubuntu-24.04. Other RC jobs do not install Swift through that action
and are left on ubuntu-latest. The regular Test workflow already runs
Swift 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.

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.
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.

setup-swift doesn't work on Ubuntu 26.04

1 participant