Skip to content

fix: Pin Swift 6.1 Linux test to Ubuntu 24.04 - #320

Open
EhsanAzish80 wants to merge 1 commit into
modelcontextprotocol:mainfrom
EhsanAzish80:fix/ci-swift61-ubuntu-2404
Open

EhsanAzish80 wants to merge 1 commit into
modelcontextprotocol:mainfrom
EhsanAzish80:fix/ci-swift61-ubuntu-2404

Conversation

@EhsanAzish80

@EhsanAzish80 EhsanAzish80 commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

The Swift 6.1 Linux job stops during toolchain setup on ubuntu-latest, before build or tests. Pin that test leg to ubuntu-24.04 and update its two Linux step conditions. The static SDK build stays on ubuntu-latest.

Checked locally: workflow structure, swift build, and swift test (579 passing). All six CI jobs passed on a5c3c48, including the Ubuntu 24.04 test job.

Follow-up to the CI failure discussed in #318.

Comment thread .github/workflows/ci.yml
- os: macos-latest
swift-version: Xcode default
- os: ubuntu-latest
- os: ubuntu-24.04

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@EhsanAzish80 @modelcontextprotocol/swift-sdk we cannot use ubuntu-26.10 right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, GitHub doesn’t list an ubuntu-26.10 runner. There is ubuntu-26.04, but I haven’t tested Swift 6.1 on it. The pinned ubuntu-24.04 job is green on this PR.

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