Skip to content

Commit

Permalink
⬆️ Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
olejnjak committed May 27, 2024
1 parent 2985fe7 commit 8e3b640
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
jobs:
carthage:
name: Carthage
runs-on: macos-13
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: AckeeCZ/load-xcode-version@1.1.0
- uses: AckeeCZ/load-xcode-version@v1
- name: Build
run: carthage build --no-skip-current --cache-builds --use-xcframeworks
- uses: actions/cache@v3
Expand All @@ -23,10 +23,10 @@ jobs:
${{ runner.os }}-carthage-
spm:
name: SPM
runs-on: macos-13
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: AckeeCZ/load-xcode-version@1.1.0
- uses: AckeeCZ/load-xcode-version@v1
- name: Build
run: swift build -c release
- uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
# Must be set to this for deploying to GitHub Pages
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: macos-13
runs-on: macos-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Check Xcode version ✅
uses: AckeeCZ/load-xcode-version@1.1.0
uses: AckeeCZ/load-xcode-version@v1
- name: Build DocC
run: |
xcodebuild docbuild -scheme ACKategories \
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on: [workflow_call]
jobs:
xcodebuild:
name: Xcodebuild
runs-on: macos-13
runs-on: macos-latest
env:
IOS_DEVICE: iPhone 15 Pro Max
steps:
- uses: actions/checkout@v4
- uses: AckeeCZ/load-xcode-version@1.1.0
- uses: AckeeCZ/load-xcode-version@v1
- name: iOS tests
run: set -o pipefail && xcodebuild test -scheme ACKategories -resultBundlePath Tests-iOS.xcresult -sdk iphonesimulator -destination "platform=iOS Simulator,name=$IOS_DEVICE,OS=latest" ONLY_ACTIVE_ARCH=YES | xcpretty
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -48,10 +48,10 @@ jobs:
path: Tests-tvOS.xcresult
spm:
name: SPM
runs-on: macos-13
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: AckeeCZ/load-xcode-version@1.1.0
- uses: AckeeCZ/load-xcode-version@v1
- name: SPM build
run: swift build
- name: SPM tests
Expand Down
2 changes: 1 addition & 1 deletion .github/xcode-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
15.2
15.4

0 comments on commit 8e3b640

Please sign in to comment.