diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7016fda..a974ac6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,38 +2,25 @@ name: CI on: push: - branches: [main] + branches: [ main ] pull_request: - branches: [main] concurrency: group: ci-${{ github.ref }} cancel-in-progress: true jobs: - build-test: + test: name: Build & Test (macOS) - runs-on: macos-15 + runs-on: macos-latest steps: - uses: actions/checkout@v4 - - - name: Select Xcode - uses: maxim-lobanov/setup-xcode@v1 + - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: latest-stable - - - name: Show toolchain + - name: Swift version run: swift --version - - - name: Cache SwiftPM - uses: actions/cache@v4 - with: - path: .build - key: ${{ runner.os }}-spm-${{ hashFiles('Package.swift', 'Package.resolved') }} - restore-keys: ${{ runner.os }}-spm- - - name: Build - run: swift build -v - + run: swift build - name: Test - run: swift test -v \ No newline at end of file + run: swift test