From ecf13c6538b2954907e55d620a421ad21f28f08c Mon Sep 17 00:00:00 2001 From: Fahad Heylaal Date: Sat, 25 Jul 2026 00:05:48 +0200 Subject: [PATCH] chore: upgrade to Swift SDK v2 --- .github/workflows/checks.yml | 15 +++++++++------ Package.resolved | 15 ++++++++++++--- Package.swift | 2 +- 3 files changed, 22 insertions(+), 10 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 7abe04b..ad2a004 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -15,6 +15,7 @@ concurrency: jobs: checks: + name: Swift 6.3.3 runs-on: macos-latest timeout-minutes: 15 @@ -23,15 +24,17 @@ jobs: uses: actions/checkout@v7 - name: Set up Swift - uses: swift-actions/setup-swift@v2.4.0 + uses: swift-actions/setup-swift@v3 with: - swift-version: "6.2.1" + swift-version: "6.3.3" - - name: Install dependencies - run: swift package resolve + - name: Resolve dependencies + run: | + swift package resolve + git diff --exit-code -- Package.resolved - name: Build - run: swift build + run: swift build --configuration release - name: Run application - run: swift run featurevisor-example-swift + run: swift run --configuration release featurevisor-example-swift diff --git a/Package.resolved b/Package.resolved index 81837d2..7014ddf 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,13 +1,22 @@ { - "originHash" : "036cbc1c84e755eb1e3932eb044fa57855a37899f71c2656460df8a2cff3c51e", + "originHash" : "1d40c660165563431a3b609eb0396e8004451ffb9c408196507046458059a1b5", "pins" : [ { "identity" : "featurevisor-swift2", "kind" : "remoteSourceControl", "location" : "https://github.com/featurevisor/featurevisor-swift2.git", "state" : { - "revision" : "bb982c7c0a9f5ab501e48ba0e68c19358506ac23", - "version" : "1.0.0" + "revision" : "eb550035a6b16b200fca5498824bcc4dd022f5d0", + "version" : "2.0.0" + } + }, + { + "identity" : "swift-sdk", + "kind" : "remoteSourceControl", + "location" : "https://github.com/open-feature/swift-sdk.git", + "state" : { + "revision" : "d71686219a65ab78f77923ceb0e2ea549e1e50ef", + "version" : "0.5.0" } } ], diff --git a/Package.swift b/Package.swift index bbdefc3..798c544 100644 --- a/Package.swift +++ b/Package.swift @@ -7,7 +7,7 @@ let package = Package( .macOS(.v13) ], dependencies: [ - .package(url: "https://github.com/featurevisor/featurevisor-swift2.git", from: "1.0.0") + .package(url: "https://github.com/featurevisor/featurevisor-swift2.git", from: "2.0.0") ], targets: [ .executableTarget(