From d51c7abaef7c8d8cbb6735682ce6ba3b8109e265 Mon Sep 17 00:00:00 2001 From: Nick Cooke Date: Sat, 27 Jan 2024 11:05:43 -0500 Subject: [PATCH] Add SPM test job and reformat workflow file --- .github/workflows/ci.yaml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 39d8065..f135a9a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,17 +11,19 @@ jobs: spm: runs-on: macOS-latest steps: - - uses: actions/checkout@v4 - - name: Build - run: swift build + - uses: actions/checkout@v4 + - name: Build + run: swift build + - name: Test + run: swift test cocoapods: - strategy: - matrix: - podspec: [PromisesObjC.podspec, PromisesSwift.podspec] - platform: [ios, tvos, macos, watchos] - runs-on: macOS-latest - steps: + strategy: + matrix: + podspec: [PromisesObjC.podspec, PromisesSwift.podspec] + platform: [ios, tvos, macos, watchos] + runs-on: macOS-latest + steps: - uses: actions/checkout@v4 - name: Lint run: |