File tree Expand file tree Collapse file tree 5 files changed +42
-31
lines changed
Expand file tree Collapse file tree 5 files changed +42
-31
lines changed Original file line number Diff line number Diff line change 1+ name : CI - Pull Request
2+ on :
3+ pull_request :
4+ branches :
5+ - ' main'
6+ workflow_dispatch :
7+ jobs :
8+ swiftlint :
9+ name : SwiftLint
10+ uses : ./.github/workflows/swiftlint.yml
11+ secrets : inherit
12+ test :
13+ name : Testing CodeEditLanguages
14+ needs : swiftlint
15+ uses : ./.github/workflows/tests.yml
16+ secrets : inherit
Original file line number Diff line number Diff line change 1+ name : CI - Push to main
2+ on :
3+ push :
4+ branches :
5+ - ' main'
6+ workflow_dispatch :
7+ jobs :
8+ swiftlint :
9+ name : SwiftLint
10+ uses : ./.github/workflows/swiftlint.yml
11+ secrets : inherit
12+ test :
13+ name : Testing CodeEditLanguages
14+ needs : swiftlint
15+ uses : ./.github/workflows/tests.yml
16+ secrets : inherit
17+ build_documentation :
18+ name : Build Documentation
19+ needs : [swiftlint, test]
20+ uses : ./.github/workflows/build-documentation.yml
21+ secrets : inherit
Original file line number Diff line number Diff line change 11name : build-documentation
22on :
3- push :
4- branches :
5- - ' main'
6- paths :
7- - ' Sources/**'
83 workflow_dispatch :
4+ workflow_call :
95
106jobs :
117 build-docc :
Original file line number Diff line number Diff line change 11name : SwiftLint
22on :
3- push :
4- branches :
5- - ' main'
6- paths :
7- - ' .github/workflows/swiftlint.yml'
8- - ' .swiftlint.yml'
9- - ' **/*.swift'
10- pull_request :
11- branches :
12- - ' main'
13- paths :
14- - ' .github/workflows/swiftlint.yml'
15- - ' .swiftlint.yml'
16- - ' **/*.swift'
3+ workflow_dispatch :
4+ workflow_call :
175jobs :
186 SwiftLint :
197 runs-on : [self-hosted, macOS]
208 steps :
219 - uses : actions/checkout@v1
2210 - name : GitHub Action for SwiftLint with --strict
2311 run : swiftlint --strict
24- # uses: norio-nomura/[email protected] 25- # with:
26- # args: --strict
Original file line number Diff line number Diff line change 11name : tests
22on :
3- push :
4- branches :
5- - ' main'
6- paths :
7- - ' Sources/**'
8- - ' Tests/**'
9- pull_request :
10- branches :
11- - ' main'
3+ workflow_dispatch :
4+ workflow_call :
125jobs :
136 code-edit-text-view-tests :
147 name : Testing CodeEditLanguages
You can’t perform that action at this time.
0 commit comments