diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ad092c..5a50b37 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,8 @@ jobs: name: Build for macos-universal runs-on: macos-14 steps: + - name: Set Xcode version + run: sudo xcode-select -s /Applications/Xcode_16.2.app - uses: swift-actions/setup-swift@v2 with: swift-version: "5.10" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e5692fa..c3d7263 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,8 @@ jobs: test: runs-on: macos-latest steps: + - name: Set Xcode version + run: sudo xcode-select -s /Applications/Xcode_16.2.app - uses: actions/checkout@v3 - name: Run tests run: swift test -v @@ -20,9 +22,9 @@ jobs: - uses: actions/checkout@v3 - uses: swift-actions/setup-swift@v2 with: - swift-version: "5.10.1" + swift-version: "6.0.0" - name: Get swift version - run: swift --version # Swift 5.1.0 + run: swift --version - name: Prepare Git run: git config --global user.email "test@example.com" && git config --global user.name "Test User" - name: Run tests