Commit c1130da
ALFMOB-362: speed up iOS CI/CD workflow (#73)
* ALFMOB-362: pin scan DerivedData path to build/DerivedData
Lets CI cache compiled Swift artefacts under a repo-local path
keyed on Package.resolved.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* ALFMOB-362: speed up iOS CI workflow
- Delete the setup job; downstream jobs install brew/bundler themselves
- Cache repo-local build/DerivedData in unit-tests keyed on Package.resolved,
so AlfieKit + Firebase SPM compile artefacts survive between PR runs
- Bump actions/checkout, actions/cache, actions/upload-artifact to v5
(clears June 2026 Node 24 deprecation warnings)
- Drop 'brew update'; rely on the runner's pre-installed Homebrew
- Upload test-results artefact on failure only
- Skip workflow on doc-only PRs (paths-ignore for *.md and Docs/)
Release job retains GYM_CLEAN=true and does not cache DerivedData;
its win is only from removing setup + brew update overhead.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* ALFMOB-362: whitespace-only commit to test warm-cache CI run
Trailing newline in AlfieApp.swift — invalidates nothing the cache
keys on (Package.resolved unchanged), so unit-tests should hit the
DerivedData cache restored from the previous run.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* ALFMOB-362: include Xcode project Package.resolved in cache keys
The Xcode project has its own SwiftPM lockfile at
Alfie/Alfie.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
which is separate from AlfieKit/Package.resolved. Without it in the
cache key, changes to project-level SwiftPM dependencies would not
invalidate the SPM or DerivedData caches, risking stale artefacts.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b141b71 commit c1130da
3 files changed
Lines changed: 39 additions & 46 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | | - | |
| 26 | + | |
24 | 27 | | |
25 | | - | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | | - | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 43 | | |
69 | | - | |
| 44 | + | |
70 | 45 | | |
71 | 46 | | |
72 | 47 | | |
| |||
75 | 50 | | |
76 | 51 | | |
77 | 52 | | |
78 | | - | |
| 53 | + | |
79 | 54 | | |
80 | 55 | | |
81 | 56 | | |
82 | 57 | | |
83 | | - | |
| 58 | + | |
84 | 59 | | |
85 | 60 | | |
86 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
87 | 70 | | |
88 | | - | |
89 | | - | |
| 71 | + | |
90 | 72 | | |
91 | 73 | | |
92 | 74 | | |
| |||
116 | 98 | | |
117 | 99 | | |
118 | 100 | | |
119 | | - | |
120 | | - | |
| 101 | + | |
| 102 | + | |
121 | 103 | | |
122 | 104 | | |
123 | 105 | | |
| |||
126 | 108 | | |
127 | 109 | | |
128 | 110 | | |
129 | | - | |
| 111 | + | |
130 | 112 | | |
131 | 113 | | |
132 | 114 | | |
133 | 115 | | |
134 | 116 | | |
135 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
136 | 128 | | |
137 | 129 | | |
138 | | - | |
| 130 | + | |
139 | 131 | | |
140 | 132 | | |
141 | 133 | | |
| |||
144 | 136 | | |
145 | 137 | | |
146 | 138 | | |
147 | | - | |
| 139 | + | |
148 | 140 | | |
149 | 141 | | |
150 | 142 | | |
151 | 143 | | |
152 | | - | |
| 144 | + | |
153 | 145 | | |
154 | 146 | | |
155 | 147 | | |
156 | 148 | | |
157 | | - | |
158 | | - | |
| 149 | + | |
159 | 150 | | |
160 | 151 | | |
161 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments