diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 538f2bb..8407947 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,18 +11,16 @@ on: - cron: '3 3 * * 2' # 3:03 AM, every Tuesday concurrency: - group: ${{ github.ref }} + group: ci-${{ github.ref }} cancel-in-progress: true jobs: macOS: name: ${{ matrix.platform }} (Swift ${{ matrix.swift }}) - runs-on: ${{ matrix.os }} + runs-on: macos-12 strategy: fail-fast: false matrix: - os: - - macos-12 platform: - iOS - macOS @@ -32,10 +30,17 @@ jobs: - 5.5 - 5.6 - 5.7 + include: + - action: test + - platform: tvOS + action: build + - platform: watchOS + action: build steps: - uses: actions/checkout@v2 - uses: mxcl/xcodebuild@v1 with: + action: ${{ matrix.action }} platform: ${{ matrix.platform }} swift: ~${{ matrix.swift }} scheme: TextBuilder