File tree Expand file tree Collapse file tree 4 files changed +78
-0
lines changed
Expand file tree Collapse file tree 4 files changed +78
-0
lines changed Original file line number Diff line number Diff line change 1+ root = true
2+
3+ [* ]
4+ charset = utf-8
5+ end_of_line = lf
6+ indent_style = space
7+ indent_size = 4
8+ insert_final_newline = true
9+ trim_trailing_whitespace = true
10+
11+ [* .md ]
12+ trim_trailing_whitespace = false
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - master
8+ pull_request :
9+
10+ jobs :
11+ sdk-and-demo-validation :
12+ runs-on : macos-latest
13+
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v4
17+
18+ - name : Show toolchain versions
19+ run : |
20+ swift --version
21+ xcodebuild -version
22+
23+ - name : Build Swift package
24+ run : swift build
25+
26+ - name : Test Swift package
27+ run : swift test
28+
29+ - name : Build Demo app for iOS Simulator
30+ run : |
31+ xcodebuild \
32+ -project DemoApp/CowCodableDemoApp/CowCodableDemoApp.xcodeproj \
33+ -scheme CowCodableDemoApp \
34+ -destination 'generic/platform=iOS Simulator' \
35+ CODE_SIGNING_ALLOWED=NO \
36+ build
Original file line number Diff line number Diff line change 1+ --indent 4
2+ --allman false
3+ --commas inline
4+ --linebreaks lf
5+ --trimwhitespace always
6+ --insertlines enabled
7+ --self remove
8+ --ifdef no-indent
9+ --wraparguments before-first
10+ --wrapcollections before-first
11+ --wrapparameters before-first
12+ --closingparen balanced
13+ --ranges no-space
14+ --stripunusedargs closure-only
15+ --disable redundantFileprivate
Original file line number Diff line number Diff line change @@ -171,6 +171,21 @@ struct Profile: Codable {
171171- No hidden mutation of invalid backend data
172172- No magic auto-fixes outside documented conversion rules
173173
174+ ## Quality Gates
175+
176+ The repository uses deterministic validation for both SDK and demo app:
177+
178+ 1 . ` swift build `
179+ 2 . ` swift test `
180+ 3 . ` xcodebuild -project DemoApp/CowCodableDemoApp/CowCodableDemoApp.xcodeproj -scheme CowCodableDemoApp -destination 'generic/platform=iOS Simulator' CODE_SIGNING_ALLOWED=NO build `
181+
182+ These checks run in CI at ` .github/workflows/ci.yml ` .
183+
184+ ## Formatting
185+
186+ - Root editor policy: ` /Users/anandnimje/Documents/CowCodable/.editorconfig `
187+ - SwiftFormat policy: ` /Users/anandnimje/Documents/CowCodable/.swiftformat `
188+
174189## License
175190
176191CowCodable is released under the MIT License.
You can’t perform that action at this time.
0 commit comments