Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreMardon committed Jun 16, 2024
1 parent d987b17 commit 93b693d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,24 @@ 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
run: xcodebuild -scheme SwiftRetrier test -destination "platform=OS X"
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: SwiftLint
uses: raphaelbussa/swiftlint-action@main
with:
Expand Down

0 comments on commit 93b693d

Please sign in to comment.