Skip to content

[CI] Lint Package.swift before release and verify it after release - #79

Merged
testableapple merged 2 commits into
developfrom
ci/verify-swift-package
Aug 10, 2026
Merged

[CI] Lint Package.swift before release and verify it after release#79
testableapple merged 2 commits into
developfrom
ci/verify-swift-package

Conversation

@testableapple

Copy link
Copy Markdown
Member

Resolves: https://linear.app/stream/issue/IOS-1934
Resolves: https://linear.app/stream/issue/IOS-1741

🎯 Goal

Verify package health at both ends of a release: block bad Package.swift pins before publishing, and integration-test the actually released versions after publishing (until now the post-release pipeline run tested develop tips).

🛠 Implementation

  • Bump fastlane-plugin-stream_actions to 0.4.8, which brings the new lint_swift_package action and a default changelog entry when a release section is empty (IOS-1741).
  • The release lane now runs lint_swift_package — it fails on branch/revision pins, version ranges, local-path deps, non-https urls, and duplicates in Package.swift; only from:/exact: pins pass.
  • release-publish.yml passes sdk + the just-published version (from gh release view) to apple-internal-testing-pipeline, which pins this SDK to that exact version and all other Stream SDKs to their latest released versions.

Note: StreamCore isn't a direct dependency of the pipeline's test projects, so a core release run retests the latest released SDK combo; the new core version enters the graph once the SDKs re-release with a bumped core pin.

@testableapple
testableapple requested a review from a team as a code owner August 10, 2026 15:13
@testableapple
testableapple enabled auto-merge (squash) August 10, 2026 15:32
@testableapple
testableapple merged commit bea0100 into develop Aug 10, 2026
6 checks passed
@testableapple
testableapple deleted the ci/verify-swift-package branch August 10, 2026 18:39
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