From 9a9f764e9d34749bc1bf56e0ac3c9e5ae85e60d3 Mon Sep 17 00:00:00 2001 From: Seungbin Oh Date: Mon, 20 Mar 2023 22:26:51 +0900 Subject: [PATCH 1/3] chore: update deps and test swift 5.6 --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 3abae25..f90d150 100644 --- a/Package.swift +++ b/Package.swift @@ -11,7 +11,7 @@ let package = Package( .package(url: "https://github.com/CoreOffice/OLEKit.git", .exact("0.3.1")), .package(url: "https://github.com/tsolomko/SWCompression.git", .exact("4.8.5")), - .package(url: "https://github.com/Quick/Nimble", .exact("9.2.1")), + .package(url: "https://github.com/Quick/Nimble", .exact("11.2.1")), ], targets: [ .target( From 6142d40bb58ecd4f4cc961df9a1d82900bd8f7b0 Mon Sep 17 00:00:00 2001 From: Seungbin Oh Date: Mon, 20 Mar 2023 22:45:51 +0900 Subject: [PATCH 2/3] chore: revert Quick/Nimble version to support swift 5.2 --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index f90d150..3abae25 100644 --- a/Package.swift +++ b/Package.swift @@ -11,7 +11,7 @@ let package = Package( .package(url: "https://github.com/CoreOffice/OLEKit.git", .exact("0.3.1")), .package(url: "https://github.com/tsolomko/SWCompression.git", .exact("4.8.5")), - .package(url: "https://github.com/Quick/Nimble", .exact("11.2.1")), + .package(url: "https://github.com/Quick/Nimble", .exact("9.2.1")), ], targets: [ .target( From 5e2bf0a3685ab5ce7ae9d0976ea47f47229a3a63 Mon Sep 17 00:00:00 2001 From: Seungbin Oh Date: Tue, 21 Mar 2023 01:50:45 +0900 Subject: [PATCH 3/3] chore: fix test ci on swift 5.6 --- .github/workflows/Test-macOS.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/Test-macOS.yml b/.github/workflows/Test-macOS.yml index d21054e..14ed5e4 100644 --- a/.github/workflows/Test-macOS.yml +++ b/.github/workflows/Test-macOS.yml @@ -17,15 +17,15 @@ jobs: swift: ["5.2", "5.6"] steps: - - uses: actions/checkout@v2 - - name: Install swiftenv - run: brew install kylef/formulae/swiftenv - - name: Install and set swift@${{ matrix.swift }} - if: ${{ matrix.swift != "5.6" }} - run: | - swiftenv install ${{ matrix.swift }} - swiftenv global ${{ matrix.swift }} - - name: Run tests - run: | - swift --version - swift test -v --enable-test-discovery + - uses: actions/checkout@v2 + - name: Install swiftenv + run: brew install kylef/formulae/swiftenv + - name: Install and set swift@${{ matrix.swift }} + if: ${{ matrix.swift }} != "5.6" + run: | + swiftenv install ${{ matrix.swift }} + swiftenv global ${{ matrix.swift }} + - name: Run tests + run: | + swift --version + swift test -v --enable-test-discovery