File tree Expand file tree Collapse file tree 5 files changed +46
-35
lines changed
Expand file tree Collapse file tree 5 files changed +46
-35
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 CodeEditKit
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 CodeEditKit
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
2- on :
3- push :
4- branches :
5- - ' main'
6- paths :
7- - ' Sources/**'
2+ on :
83 workflow_dispatch :
4+ workflow_call :
95jobs :
106 build-docc :
117 runs-on : [self-hosted, macOS]
128 steps :
139 - name : Checkout repository
14- uses : actions/checkout@v1
10+ uses : actions/checkout@v3
1511 - name : Build Documentation
1612 run : exec ./.github/scripts/build-docc.sh
1713 - name : Init new repo in dist folder and commit generated files
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 :
21- - uses : actions/checkout@v1
9+ - uses : actions/checkout@v3
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-kit-tests :
147 name : Testing CodeEditKit
158 runs-on : [self-hosted, macOS]
169 steps :
1710 - name : Checkout repository
18- uses : actions/checkout@v1
11+ uses : actions/checkout@v3
1912 - name : Testing Package
2013 run : exec ./.github/scripts/tests.sh arm
You can’t perform that action at this time.
0 commit comments