Skip to content

Commit bb432c8

Browse files
committed
ci: bump checkout pin on lint workflows and drop stale scheme testable
The SwiftLint and SwiftFormat workflows were the only two of 26 still pinned to actions/checkout v3.5.3, which runs on the deprecated Node 16 runtime. Bumped both to the v4.1.1 pin the other 24 workflows already use. Also removed the AmplifyConnectClientIntegrationTests testable from Amplify-Package.xcscheme. That target does not exist in Package.swift — the integration tests live in a separate host-app project (AmplifyClients/AmplifyConnectClient/Tests/ConnectClientHostApp) where the scheme is named ConnectClientIntegrationTests. This was harmless only because Amplify-Package is used for `xcodebuild build` and never `test`; it would fail for anyone invoking the scheme's test action. Verified the scheme is still valid XML.
1 parent 75ac320 commit bb432c8

3 files changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/swiftformat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
SWIFTFORMAT_VERSION: '0.60.1'
2929
SWIFTFORMAT_SHA256: 'cb4738085cf39c08da00b79b4a3683e77458ca12909934d04e5087d8e73f5e43'
3030
steps:
31-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3
31+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
3232
with:
3333
persist-credentials: false
3434

.github/workflows/swiftlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
container:
2828
image: ghcr.io/realm/swiftlint:0.54.0
2929
steps:
30-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3
30+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
3131
with:
3232
persist-credentials: false
3333

.swiftpm/xcode/xcshareddata/xcschemes/Amplify-Package.xcscheme

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -895,16 +895,6 @@
895895
ReferencedContainer = "container:">
896896
</BuildableReference>
897897
</TestableReference>
898-
<TestableReference
899-
skipped = "NO">
900-
<BuildableReference
901-
BuildableIdentifier = "primary"
902-
BlueprintIdentifier = "AmplifyConnectClientIntegrationTests"
903-
BuildableName = "AmplifyConnectClientIntegrationTests"
904-
BlueprintName = "AmplifyConnectClientIntegrationTests"
905-
ReferencedContainer = "container:">
906-
</BuildableReference>
907-
</TestableReference>
908898
</Testables>
909899
</TestAction>
910900
<LaunchAction

0 commit comments

Comments
 (0)