Skip to content

Commit 33b1462

Browse files
committed
Do swift formatting
1 parent 621e0f1 commit 33b1462

File tree

7 files changed

+346
-324
lines changed

7 files changed

+346
-324
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
-scheme FDWaveformView \
3131
-destination 'platform=iOS Simulator,name=iPhone 16,OS=18.5'
3232
33+
- name: Check formatting
34+
run: |
35+
swift format format --in-place --recursive Sources/ Tests/
36+
git diff --exit-code || (echo "Code is not formatted. Run: swift format format --in-place --recursive Sources/ Tests/" && exit 1)
37+
3338
- name: Test
3439
run: |
3540
xcodebuild test \

Example/Example.xcodeproj/project.pbxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@
291291
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
292292
CODE_SIGN_STYLE = Automatic;
293293
CURRENT_PROJECT_VERSION = 1;
294+
DEVELOPMENT_TEAM = 8Q693ZG5RN;
294295
ENABLE_PREVIEWS = YES;
295296
GENERATE_INFOPLIST_FILE = YES;
296297
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;

0 commit comments

Comments
 (0)