diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index feac9ad..e1633bf 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -6,15 +6,16 @@ on: jobs: build: - runs-on: macos-13 + runs-on: macos-14 steps: - - uses: maxim-lobanov/setup-xcode@v1 - with: - xcode-version: latest-stable - - name: Check XCode Version + - uses: actions/checkout@v4 + - name: List available Xcode versions + run: ls /Applications | grep Xcode + - name: Set up Xcode version + run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer + - name: Show current version of Xcode run: xcodebuild -version - - uses: actions/checkout@v3 - name: Build run: xcodebuild -scheme SwiftRetrier build -destination "platform=OS X" - name: Run tests @@ -22,7 +23,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: SwiftLint uses: raphaelbussa/swiftlint-action@main with: