File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 5555 - { command: test, skip_release: 1 }
5656 steps :
5757 - uses : actions/checkout@v5
58+ - name : Cache derived data
59+ uses : actions/cache@v4
60+ with :
61+ path : ~/.derivedData
62+ key : |
63+ deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }}
64+ restore-keys : |
65+ deriveddata-xcodebuild-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.command }}-
5866 - name : Select Xcode ${{ matrix.xcode }}
5967 run : sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
6068 - name : List available devices
@@ -171,6 +179,14 @@ jobs:
171179 xcode : ["16.3"]
172180 steps :
173181 - uses : actions/checkout@v5
182+ - name : Cache derived data
183+ uses : actions/cache@v4
184+ with :
185+ path : ~/.derivedData
186+ key : |
187+ deriveddata-library-evolution-${{ matrix.xcode }}-${{ hashFiles('**/Sources/**/*.swift', '**/Tests/**/*.swift') }}
188+ restore-keys : |
189+ deriveddata-library-evolution-${{ matrix.xcode }}-
174190 - name : Select Xcode ${{ matrix.xcode }}
175191 run : sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
176192 - name : Build for library evolution
@@ -207,5 +223,13 @@ jobs:
207223 runs-on : macos-15
208224 steps :
209225 - uses : actions/checkout@v5
226+ - name : Cache Swift build
227+ uses : actions/cache@v4
228+ with :
229+ path : .build
230+ key : |
231+ docs-${{ runner.os }}-${{ hashFiles('**/Package.resolved') }}
232+ restore-keys : |
233+ docs-${{ runner.os }}-
210234 - name : Test docs
211235 run : make test-docs
You can’t perform that action at this time.
0 commit comments