@@ -12,16 +12,19 @@ concurrency:
1212 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1313 cancel-in-progress : true
1414
15+ env :
16+ XCODE_VERSION : ' 16.2'
17+
1518jobs :
1619
1720 generate-xcode-project :
1821 uses : ./.github/workflows/generate-xcode-project.yml
1922
20- lint_swift :
23+ lint-swift :
2124 needs : generate-xcode-project
22- runs-on : macos-15 -xlarge
25+ runs-on : macos-14 -xlarge
2326 steps :
24- - uses : actions/checkout@v4
27+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2528
2629 # Pre-cache mint packages directory
2730 - name : Cache Mint packages
@@ -50,21 +53,24 @@ jobs:
5053 - name : Lint swift
5154 run : mint run swiftlint --strict
5255
53- lint_pod :
54- runs-on : macos-15 -xlarge
56+ lint-pod :
57+ runs-on : macos-14 -xlarge
5558 steps :
56- - uses : actions/checkout@v4
59+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
5760 - name : Lint Pods
5861 run : pod lib lint --allow-warnings
5962
6063 build :
6164 needs : generate-xcode-project
62- runs-on : macos-15 -xlarge
65+ runs-on : macos-14 -xlarge
6366 steps :
64- - uses : actions/checkout@v4
67+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
68+
69+ - name : Select Xcode version
70+ run : sudo xcode-select -s '/Applications/Xcode_${{ env.XCODE_VERSION }}.app/Contents/Developer'
6571
6672 - name : Download xcode project file
67- uses : actions/download-artifact@v4
73+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
6874 with :
6975 name : output-xcodeproj-file
7076 path : ./Bucketeer.xcodeproj
@@ -76,18 +82,21 @@ jobs:
7682
7783 build-example :
7884 needs : generate-xcode-project
79- runs-on : macos-15 -xlarge
85+ runs-on : macos-14 -xlarge
8086 steps :
81- - uses : actions/checkout@v4
87+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
88+
89+ - name : Select Xcode version
90+ run : sudo xcode-select -s '/Applications/Xcode_${{ env.XCODE_VERSION }}.app/Contents/Developer'
8291
8392 - name : Download environment file
84- uses : actions/download-artifact@v4
93+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
8594 with :
8695 name : output-environment-file
8796 path : ./environment.xcconfig
8897
8998 - name : Download xcode project file
90- uses : actions/download-artifact@v4
99+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
91100 with :
92101 name : output-xcodeproj-file
93102 path : ./Bucketeer.xcodeproj
@@ -97,14 +106,17 @@ jobs:
97106 CI : true
98107 run : make build-example
99108
100- test :
109+ unit- test :
101110 needs : generate-xcode-project
102- runs-on : macos-15 -xlarge
111+ runs-on : macos-14 -xlarge
103112 steps :
104- - uses : actions/checkout@v4
113+ - uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
114+
115+ - name : Select Xcode version
116+ run : sudo xcode-select -s '/Applications/Xcode_${{ env.XCODE_VERSION }}.app/Contents/Developer'
105117
106118 - name : Download xcode project file
107- uses : actions/download-artifact@v4
119+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
108120 with :
109121 name : output-xcodeproj-file
110122 path : ./Bucketeer.xcodeproj
0 commit comments