Skip to content

Commit a9e6942

Browse files
authored
Fixes workflows building app (#326)
* Fixes workflows building app * Adds Package.resolved * Improves syntax
1 parent c71b180 commit a9e6942

6 files changed

Lines changed: 37 additions & 16 deletions

File tree

.github/workflows/build_and_test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Build and Test
22
on:
33
workflow_dispatch: {}
44
pull_request:
5-
branches: [ main ]
5+
branches:
6+
- main
67
paths:
78
- '.github/workflows/build_and_test.yml'
89
- 'Sources/**'
@@ -12,10 +13,10 @@ concurrency:
1213
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1314
cancel-in-progress: true
1415
env:
15-
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer
16+
DEVELOPER_DIR: /Applications/Xcode_15.0.1.app/Contents/Developer
1617
jobs:
1718
build:
18-
name: Build and test on iPhone 14
19+
name: Build and test
1920
runs-on: macos-13
2021
steps:
2122
- name: Checkout
@@ -27,10 +28,10 @@ jobs:
2728
xcodebuild build-for-testing\
2829
-scheme Runestone\
2930
-sdk iphonesimulator\
30-
-destination "platform=iOS Simulator,name=iPhone 14 Pro,OS=17.0"
31+
-destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=latest"
3132
- name: Test
3233
run: |
3334
xcodebuild test-without-building\
3435
-scheme Runestone\
3536
-sdk iphonesimulator\
36-
-destination "platform=iOS Simulator,name=iPhone 14 Pro,OS=17.0"
37+
-destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=latest"

.github/workflows/build_example_project.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@ name: Build Example Project
22
on:
33
workflow_dispatch: {}
44
pull_request:
5-
branches: [ main ]
5+
branches:
6+
- main
67
paths:
78
- '.github/workflows/build_example_project.yml'
89
- 'Example/**'
910
concurrency:
1011
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1112
cancel-in-progress: true
1213
env:
13-
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer
14+
DEVELOPER_DIR: /Applications/Xcode_15.0.1.app/Contents/Developer
1415
jobs:
1516
build:
16-
name: Build example project for iPhone 14
17+
name: Build example project
1718
runs-on: macos-13
1819
steps:
1920
- name: Checkout
@@ -26,4 +27,4 @@ jobs:
2627
-project Example/Example.xcodeproj\
2728
-scheme Example\
2829
-sdk iphonesimulator\
29-
-destination "platform=iOS Simulator,name=iPhone 14 Pro,OS=17.0"
30+
-destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=latest"

.github/workflows/codeql.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
name: "CodeQL"
22
on:
33
push:
4-
branches: [ "main" ]
4+
branches:
5+
- main
56
pull_request:
6-
branches: [ "main" ]
7+
branches:
8+
- main
79
concurrency:
810
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
911
cancel-in-progress: true
1012
env:
11-
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer
13+
DEVELOPER_DIR: /Applications/Xcode_15.0.1.app/Contents/Developer
1214
jobs:
1315
analyze:
1416
name: Analyze
@@ -33,7 +35,7 @@ jobs:
3335
xcodebuild\
3436
-scheme Runestone\
3537
-sdk iphonesimulator\
36-
-destination "platform=iOS Simulator,name=iPhone 14 Pro,OS=17.0"
38+
-destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=latest"
3739
- name: Perform CodeQL Analysis
3840
uses: github/codeql-action/analyze@v2
3941
with:

.github/workflows/deploy_documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ concurrency:
99
group: "pages"
1010
cancel-in-progress: true
1111
env:
12-
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer
12+
DEVELOPER_DIR: /Applications/Xcode_15.0.1.app/Contents/Developer
1313
jobs:
1414
build:
1515
runs-on: macos-13

.github/workflows/ui_tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: UI Tests
22
on:
33
workflow_dispatch: {}
44
pull_request:
5-
branches: [ main ]
5+
branches:
6+
- main
67
paths:
78
- '.github/workflows/ui_tests.yml'
89
- 'Sources/**'
@@ -12,7 +13,7 @@ concurrency:
1213
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1314
cancel-in-progress: true
1415
env:
15-
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer
16+
DEVELOPER_DIR: /Applications/Xcode_15.0.1.app/Contents/Developer
1617
jobs:
1718
run_korean_tests:
1819
name: Run Korean tests

Example/Example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)