@@ -40,10 +40,12 @@ jobs:
4040 run : brew install swiftlint
4141 - name : Create and set the default keychain
4242 run : |
43- security create-keychain -p "" temporary
44- security default-keychain -s temporary
45- security unlock-keychain -p "" temporary
46- security set-keychain-settings -lut 7200 temporary
43+ KEYCHAIN_NAME="temporary-${GITHUB_RUN_ID}"
44+ security delete-keychain "$KEYCHAIN_NAME" 2>/dev/null || true
45+ security create-keychain -p "" "$KEYCHAIN_NAME"
46+ security default-keychain -s "$KEYCHAIN_NAME"
47+ security unlock-keychain -p "" "$KEYCHAIN_NAME"
48+ security set-keychain-settings -lut 7200 "$KEYCHAIN_NAME"
4749 - name : Build-Test
4850 run : set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace Parse.xcworkspace -scheme ParseSwift -derivedDataPath DerivedData -destination ${{ matrix.destination }} ${{ matrix.action }} 2>&1 | xcbeautify --renderer github-actions
4951 env :
@@ -73,10 +75,12 @@ jobs:
7375 - uses : actions/checkout@v6
7476 - name : Create and set the default keychain
7577 run : |
76- security create-keychain -p "" temporary
77- security default-keychain -s temporary
78- security unlock-keychain -p "" temporary
79- security set-keychain-settings -lut 7200 temporary
78+ KEYCHAIN_NAME="temporary-${GITHUB_RUN_ID}"
79+ security delete-keychain "$KEYCHAIN_NAME" 2>/dev/null || true
80+ security create-keychain -p "" "$KEYCHAIN_NAME"
81+ security default-keychain -s "$KEYCHAIN_NAME"
82+ security unlock-keychain -p "" "$KEYCHAIN_NAME"
83+ security set-keychain-settings -lut 7200 "$KEYCHAIN_NAME"
8084 - name : Build-Test
8185 run : set -o pipefail && env NSUnbufferedIO=YES swift test --enable-code-coverage 2>&1 | xcbeautify --renderer github-actions
8286 env :
@@ -100,18 +104,20 @@ jobs:
100104 env :
101105 DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
102106
103- xcode -test-oldest :
107+ spm -test-oldest :
104108 timeout-minutes : 25
105109 needs : linux
106110 runs-on : macos-15
107111 steps :
108112 - uses : actions/checkout@v6
109113 - name : Create and set the default keychain
110114 run : |
111- security create-keychain -p "" temporary
112- security default-keychain -s temporary
113- security unlock-keychain -p "" temporary
114- security set-keychain-settings -lut 7200 temporary
115+ KEYCHAIN_NAME="temporary-${GITHUB_RUN_ID}"
116+ security delete-keychain "$KEYCHAIN_NAME" 2>/dev/null || true
117+ security create-keychain -p "" "$KEYCHAIN_NAME"
118+ security default-keychain -s "$KEYCHAIN_NAME"
119+ security unlock-keychain -p "" "$KEYCHAIN_NAME"
120+ security set-keychain-settings -lut 7200 "$KEYCHAIN_NAME"
115121 - name : Build-Test
116122 run : set -o pipefail && env NSUnbufferedIO=YES swift test --enable-code-coverage 2>&1 | xcbeautify --renderer github-actions
117123 env :
@@ -121,7 +127,7 @@ jobs:
121127 id : coverage-files
122128 with :
123129 format : lcov
124- search-paths : ./DerivedData
130+ search-paths : ./.build
125131 ignore-conversion-failures : true
126132 env :
127133 DEVELOPER_DIR : ${{ env.CI_XCODE_OLDEST }}
@@ -158,7 +164,7 @@ jobs:
158164 token : ${{ secrets.CODECOV_TOKEN }}
159165
160166 android :
161- timeout-minutes : 15
167+ timeout-minutes : 10
162168 runs-on : ubuntu-latest
163169 steps :
164170 - uses : actions/checkout@v6
0 commit comments