From 93b693d07d07322a3f900f1af0ad5fbcb96d7374 Mon Sep 17 00:00:00 2001 From: Pierre Mardon Date: Sun, 16 Jun 2024 15:46:39 +0200 Subject: [PATCH] Update workflow --- .github/workflows/swift.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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: