Skip to content

Commit 54737d0

Browse files
committed
ci: check swift format for the plugin native tests and the example Runner
1 parent a5cd799 commit 54737d0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/swift-format-check.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@ on:
66
branches: [main]
77
paths:
88
- macos/native_image_picker_macos/**/*.swift
9+
- example/macos/Runner/**/*.swift
10+
- example/macos/RunnerTests/**/*.swift
11+
- example/macos/RunnerUITests/**/*.swift
912
- .github/workflows/swift-format-check.yml
1013
pull_request:
1114
paths:
1215
- macos/native_image_picker_macos/**/*.swift
16+
- example/macos/Runner/**/*.swift
17+
- example/macos/RunnerTests/**/*.swift
18+
- example/macos/RunnerUITests/**/*.swift
1319
- .github/workflows/swift-format-check.yml
1420

1521
jobs:
@@ -41,7 +47,7 @@ jobs:
4147
run: swift-format dump-configuration
4248

4349
- name: 🔎 Validate Swift Code Formatting
44-
run: swift-format lint -r macos/native_image_picker_macos/Sources/native_image_picker_macos --strict
50+
run: swift-format lint --strict -r macos/native_image_picker_macos/Sources/native_image_picker_macos example/macos/Runner example/macos/RunnerTests example/macos/RunnerUITests
4551

4652
# SwiftLint: https://github.com/realm/SwiftLint
4753
# - name: 🎨 Verify Swift Code Style with SwiftLint

0 commit comments

Comments
 (0)