From 4e860b98a35a93ba8cf053560f02cee57c2ccf70 Mon Sep 17 00:00:00 2001 From: Grady Zhuo Date: Sun, 27 Oct 2024 16:29:32 +0800 Subject: [PATCH 1/4] Update swift-build-testing.yml --- .github/workflows/swift-build-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swift-build-testing.yml b/.github/workflows/swift-build-testing.yml index ab5c63b..dc6e208 100644 --- a/.github/workflows/swift-build-testing.yml +++ b/.github/workflows/swift-build-testing.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - swift: ["5"] + swift: ["6"] runs-on: ${{ matrix.os }} steps: - uses: swift-actions/setup-swift@v2 From fb1d50f3d4b9b5df121977ea08b2617244b5704a Mon Sep 17 00:00:00 2001 From: Grady Zhuo Date: Sun, 27 Oct 2024 16:39:57 +0800 Subject: [PATCH 2/4] Update swift-build-testing.yml --- .github/workflows/swift-build-testing.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/swift-build-testing.yml b/.github/workflows/swift-build-testing.yml index dc6e208..3d58a3b 100644 --- a/.github/workflows/swift-build-testing.yml +++ b/.github/workflows/swift-build-testing.yml @@ -14,13 +14,15 @@ jobs: name: Swift ${{ matrix.swift }} on ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest] - swift: ["6"] + os: [ubuntu-latest, macos-latest] + swift: ["6.0", "5.9"] runs-on: ${{ matrix.os }} steps: - - uses: swift-actions/setup-swift@v2 + - uses: SwiftyLab/setup-swift@latest with: - swift-version: ${{ matrix.swift }} + swift-version: ${{ matrix.swift }} + - name: Get swift version + run: swift --version - uses: actions/checkout@v4 - name: Run tests run: swift test -v --enable-code-coverage From 0971199c19005415d40688b8ac2ac0641e34c0b5 Mon Sep 17 00:00:00 2001 From: Grady Zhuo Date: Sun, 27 Oct 2024 16:41:12 +0800 Subject: [PATCH 3/4] Update swift-build-testing.yml --- .github/workflows/swift-build-testing.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/swift-build-testing.yml b/.github/workflows/swift-build-testing.yml index 3d58a3b..170bee3 100644 --- a/.github/workflows/swift-build-testing.yml +++ b/.github/workflows/swift-build-testing.yml @@ -4,8 +4,6 @@ name: Swift-build-testing on: - push: - branches: ["*"] pull_request: branches: [ "main" ] @@ -14,7 +12,7 @@ jobs: name: Swift ${{ matrix.swift }} on ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest] swift: ["6.0", "5.9"] runs-on: ${{ matrix.os }} steps: From 41a8d3d3d6e37044381b46d79f44f9091de4f7d8 Mon Sep 17 00:00:00 2001 From: Grady Zhuo Date: Sun, 27 Oct 2024 16:53:50 +0800 Subject: [PATCH 4/4] Update swift-build-testing.yml --- .github/workflows/swift-build-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swift-build-testing.yml b/.github/workflows/swift-build-testing.yml index 170bee3..4e5bbc4 100644 --- a/.github/workflows/swift-build-testing.yml +++ b/.github/workflows/swift-build-testing.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - swift: ["6.0", "5.9"] + swift: ["6.0"] runs-on: ${{ matrix.os }} steps: - uses: SwiftyLab/setup-swift@latest