From c5597359b01c7b84886243e303e57a8bdf540344 Mon Sep 17 00:00:00 2001 From: Alex Guretzki Date: Tue, 22 Jul 2025 12:52:22 +0200 Subject: [PATCH 1/3] Updating tests to use Xcode 16.4 --- .github/workflows/run-tests.yml | 2 +- ...-reference-changes-swift-interface-private.md | 16 ++-------------- ...d-reference-changes-swift-interface-public.md | 16 ++-------------- 3 files changed, 5 insertions(+), 29 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index bf2cacd..bbc536f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -21,7 +21,7 @@ jobs: - name: Select latest Xcode uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: '16.2' + xcode-version: '16.4' - name: ๐Ÿ› ๏ธ Run All Tests run: | diff --git a/Tests/IntegrationTests/Resources/expected-reference-changes-swift-interface-private.md b/Tests/IntegrationTests/Resources/expected-reference-changes-swift-interface-private.md index 8a105df..58a3a66 100644 --- a/Tests/IntegrationTests/Resources/expected-reference-changes-swift-interface-private.md +++ b/Tests/IntegrationTests/Resources/expected-reference-changes-swift-interface-private.md @@ -1,6 +1,6 @@ -# โš ๏ธ 60 public changes detected โš ๏ธ +# โš ๏ธ 57 public changes detected โš ๏ธ _Comparing `new_private` to `old_private`_ -
โ‡๏ธ34 Additions
๐Ÿ”€22 Modifications
โŒ4 Removals
+
โ‡๏ธ31 Additions
๐Ÿ”€22 Modifications
โŒ4 Removals
--- ## `ReferencePackage` @@ -33,12 +33,6 @@ public enum RawValueEnum: Swift.Equatable, Swift.Hashable, Swift.RawRepresentabl } ``` ```swift -public protocol ParentProtocol { - associatedtype Iterator: Swift.Collection - associatedtype ParentType: Swift.Equatable where Self.ParentType == Self.Iterator.Element -} -``` -```swift public protocol ParentProtocol { associatedtype Iterator: Swift.Collection associatedtype ParentType: Swift.Equatable where Self.ParentType == Self.Iterator.Element @@ -303,12 +297,6 @@ public enum PublicEnumInExtensionOfCustomEnumThatIsOnlyAvailableInTheReferencePa associatedtype AnotherAssociatedType: Swift.Strideable ``` ```swift -associatedtype AnotherAssociatedType: Swift.Strideable -``` -```swift -associatedtype CustomAssociatedType: Swift.Equatable -``` -```swift associatedtype CustomAssociatedType: Swift.Equatable ``` #### ๐Ÿ”€ Modified diff --git a/Tests/IntegrationTests/Resources/expected-reference-changes-swift-interface-public.md b/Tests/IntegrationTests/Resources/expected-reference-changes-swift-interface-public.md index 492b801..e7ed710 100644 --- a/Tests/IntegrationTests/Resources/expected-reference-changes-swift-interface-public.md +++ b/Tests/IntegrationTests/Resources/expected-reference-changes-swift-interface-public.md @@ -1,6 +1,6 @@ -# โš ๏ธ 51 public changes detected โš ๏ธ +# โš ๏ธ 48 public changes detected โš ๏ธ _Comparing `new_public` to `old_public`_ -
โ‡๏ธ31 Additions
๐Ÿ”€16 Modifications
โŒ4 Removals
+
โ‡๏ธ28 Additions
๐Ÿ”€16 Modifications
โŒ4 Removals
--- ## `ReferencePackage` @@ -33,12 +33,6 @@ public enum RawValueEnum: Swift.Equatable, Swift.Hashable, Swift.RawRepresentabl } ``` ```swift -public protocol ParentProtocol { - associatedtype Iterator: Swift.Collection - associatedtype ParentType: Swift.Equatable where Self.ParentType == Self.Iterator.Element -} -``` -```swift public protocol ParentProtocol { associatedtype Iterator: Swift.Collection associatedtype ParentType: Swift.Equatable where Self.ParentType == Self.Iterator.Element @@ -288,12 +282,6 @@ public enum PublicEnumInExtensionOfCustomEnumThatIsOnlyAvailableInTheReferencePa associatedtype AnotherAssociatedType: Swift.Strideable ``` ```swift -associatedtype AnotherAssociatedType: Swift.Strideable -``` -```swift -associatedtype CustomAssociatedType: Swift.Equatable -``` -```swift associatedtype CustomAssociatedType: Swift.Equatable ``` #### ๐Ÿ”€ Modified From 69cae561cd055bd930aaaecc81aea104b074ab57 Mon Sep 17 00:00:00 2001 From: Alex Guretzki Date: Tue, 22 Jul 2025 13:48:04 +0200 Subject: [PATCH 2/3] Update run-tests.yml --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index bbc536f..b4d1055 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,7 +10,7 @@ on: jobs: build: - runs-on: macos-14 # Apple Silicon Runner + runs-on: macos-15 # Apple Silicon Runner steps: - uses: actions/checkout@v4 From c3888429e6b66df1c2742de67f1f48e347cc5272 Mon Sep 17 00:00:00 2001 From: Alex Guretzki Date: Tue, 22 Jul 2025 13:52:15 +0200 Subject: [PATCH 3/3] Adding permissions for run-tests --- .github/workflows/run-tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b4d1055..5920b9d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,5 +1,8 @@ name: ๐Ÿงช Run Tests +permissions: + contents: read + on: pull_request: types: [opened, synchronize, reopened]