File tree 5 files changed +46
-35
lines changed 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 CodeEditTextView
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 CodeEditTextView
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 1
1
name : build-documentation
2
- on :
3
- push :
4
- branches :
5
- - ' main'
6
- paths :
7
- - ' Sources/**'
2
+ on :
8
3
workflow_dispatch :
4
+ workflow_call :
9
5
jobs :
10
6
build-docc :
11
7
runs-on : [self-hosted, macOS]
12
8
steps :
13
9
- name : Checkout repository
14
- uses : actions/checkout@v1
10
+ uses : actions/checkout@v3
15
11
- name : Build Documentation
16
12
run : exec ./.github/scripts/build-docc.sh
17
13
- name : Init new repo in dist folder and commit generated files
Original file line number Diff line number Diff line change 1
1
name : SwiftLint
2
2
on :
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 :
17
5
jobs :
18
6
SwiftLint :
19
7
runs-on : [self-hosted, macOS]
20
8
steps :
21
- - uses : actions/checkout@v1
9
+ - uses : actions/checkout@v3
22
10
- name : GitHub Action for SwiftLint with --strict
23
11
run : swiftlint --strict
24
- # uses: norio-nomura/[email protected]
25
- # with:
26
- # args: --strict
Original file line number Diff line number Diff line change 1
1
name : tests
2
2
on :
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 :
12
5
jobs :
13
6
code-edit-text-view-tests :
14
7
name : Testing CodeEditTextView
15
8
runs-on : [self-hosted, macOS]
16
9
steps :
17
10
- name : Checkout repository
18
- uses : actions/checkout@v1
11
+ uses : actions/checkout@v3
19
12
- name : Testing Package
20
13
run : exec ./.github/scripts/tests.sh arm
You can’t perform that action at this time.
0 commit comments