Skip to content

Commit c39859f

Browse files
authored
[Chore] Polish CI (#18090)
1 parent acdab96 commit c39859f

14 files changed

Lines changed: 55 additions & 47 deletions

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!--Thanks very much for contributing to Apache DolphinScheduler, we are happy that you want to help us improve DolphinScheduler! -->
22

33
## Was this PR generated or assisted by AI?
4+
45
<!--(Please answer YES or NO. If YES, please specify which parts were generated or assisted by AI)-->
56

67
## Purpose of the pull request

.github/actions/paths-filter

Submodule paths-filter added at fbd0ab8
Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/api-test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838
not-ignore: ${{ steps.filter.outputs.not-ignore }}
3939
steps:
4040
- uses: actions/checkout@v6
41-
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
41+
with:
42+
submodules: true
43+
- uses: ./.github/actions/paths-filter
4244
id: filter
4345
with:
4446
filters: |
@@ -66,7 +68,7 @@ jobs:
6668
with:
6769
token: ${{ secrets.GITHUB_TOKEN }}
6870
- name: Cache local Maven repository
69-
uses: actions/cache@v4
71+
uses: actions/cache@v5
7072
with:
7173
path: ~/.m2/repository
7274
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-api-test
@@ -83,7 +85,7 @@ jobs:
8385
run: |
8486
docker save apache/dolphinscheduler-standalone-server:ci -o /tmp/standalone-image.tar \
8587
&& du -sh /tmp/standalone-image.tar
86-
- uses: actions/upload-artifact@v4
88+
- uses: actions/upload-artifact@v6
8789
name: Upload Docker Images
8890
with:
8991
name: standalone-image-api-test
@@ -128,12 +130,10 @@ jobs:
128130
with:
129131
java-version: 11
130132
distribution: 'adopt'
131-
- name: Collect Workflow Telemetry
132-
uses: ./.github/actions/workflow-telemetry-action
133-
with:
134-
comment_on_pr: false
133+
- name: Collect Workflow Metrics
134+
uses: ./.github/actions/actions-workflow-metrics
135135
- name: Cache local Maven repository
136-
uses: actions/cache@v4
136+
uses: actions/cache@v5
137137
with:
138138
path: ~/.m2/repository
139139
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-api-test
@@ -154,7 +154,7 @@ jobs:
154154
-DfailIfNoTests=false \
155155
-Dspotless.skip=true \
156156
-Dtest=${{ matrix.case.class }} test
157-
- uses: actions/upload-artifact@v4
157+
- uses: actions/upload-artifact@v6
158158
if: always()
159159
name: Upload Recording
160160
with:

.github/workflows/backend.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838
db-schema: ${{ steps.filter.outputs.db-schema }}
3939
steps:
4040
- uses: actions/checkout@v6
41-
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
41+
with:
42+
submodules: true
43+
- uses: ./.github/actions/paths-filter
4244
id: filter
4345
with:
4446
filters: |
@@ -68,7 +70,7 @@ jobs:
6870
uses: ./.github/actions/sanity-check
6971
with:
7072
token: ${{ secrets.GITHUB_TOKEN }}
71-
- uses: actions/cache@v4
73+
- uses: actions/cache@v5
7274
with:
7375
path: ~/.m2/repository
7476
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-backend
@@ -83,7 +85,7 @@ jobs:
8385
-Danalyze.skip=true
8486
- name: Check dependency license
8587
run: tools/dependencies/check-LICENSE.sh
86-
- uses: actions/upload-artifact@v4
88+
- uses: actions/upload-artifact@v6
8789
if: ${{ matrix.java == '8' }}
8890
name: Upload Binary Package
8991
with:
@@ -117,10 +119,8 @@ jobs:
117119
- uses: actions/checkout@v6
118120
with:
119121
submodules: true
120-
- name: Collect Workflow Telemetry
121-
uses: ./.github/actions/workflow-telemetry-action
122-
with:
123-
comment_on_pr: false
122+
- name: Collect Workflow Metrics
123+
uses: ./.github/actions/actions-workflow-metrics
124124
- uses: actions/download-artifact@v4
125125
name: Download Binary Package
126126
with:
@@ -148,10 +148,8 @@ jobs:
148148
- uses: actions/checkout@v6
149149
with:
150150
submodules: true
151-
- name: Collect Workflow Telemetry
152-
uses: ./.github/actions/workflow-telemetry-action
153-
with:
154-
comment_on_pr: false
151+
- name: Collect Workflow Metrics
152+
uses: ./.github/actions/actions-workflow-metrics
155153
- name: Download Binary Package
156154
uses: actions/download-artifact@v4
157155
with:

.github/workflows/docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,8 @@ jobs:
5757
- uses: actions/checkout@v6
5858
with:
5959
submodules: true
60-
- name: Collect Workflow Telemetry
61-
uses: ./.github/actions/workflow-telemetry-action
62-
with:
63-
comment_on_pr: false
60+
- name: Collect Workflow Metrics
61+
uses: ./.github/actions/actions-workflow-metrics
6462
- run: sudo snap install lychee
6563
- name: Check Dead Links
6664
run: |
@@ -73,7 +71,9 @@ jobs:
7371
helm-doc: ${{ steps.filter.outputs.helm-doc }}
7472
steps:
7573
- uses: actions/checkout@v6
76-
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
74+
with:
75+
submodules: true
76+
- uses: ./.github/actions/paths-filter
7777
id: filter
7878
with:
7979
filters: |

.github/workflows/e2e-k8s.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838
not-ignore: ${{ steps.filter.outputs.not-ignore }}
3939
steps:
4040
- uses: actions/checkout@v6
41-
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
41+
with:
42+
submodules: true
43+
- uses: ./.github/actions/paths-filter
4244
id: filter
4345
with:
4446
filters: |

.github/workflows/e2e.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040
not-ignore: ${{ steps.filter.outputs.not-ignore }}
4141
steps:
4242
- uses: actions/checkout@v6
43-
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
43+
with:
44+
submodules: true
45+
- uses: ./.github/actions/paths-filter
4446
id: filter
4547
with:
4648
filters: |
@@ -61,7 +63,7 @@ jobs:
6163
with:
6264
token: ${{ secrets.GITHUB_TOKEN }}
6365
- name: Cache local Maven repository
64-
uses: actions/cache@v4
66+
uses: actions/cache@v5
6567
with:
6668
path: ~/.m2/repository
6769
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-e2e
@@ -152,12 +154,10 @@ jobs:
152154
with:
153155
java-version: 11
154156
distribution: 'adopt'
155-
- name: Collect Workflow Telemetry
156-
uses: ./.github/actions/workflow-telemetry-action
157-
with:
158-
comment_on_pr: false
157+
- name: Collect Workflow Metrics
158+
uses: ./.github/actions/actions-workflow-metrics
159159
- name: Cache local Maven repository
160-
uses: actions/cache@v4
160+
uses: actions/cache@v5
161161
with:
162162
path: ~/.m2/repository
163163
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-e2e

.github/workflows/frontend.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ jobs:
4343
not-ignore: ${{ steps.filter.outputs.not-ignore }}
4444
steps:
4545
- uses: actions/checkout@v6
46-
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
46+
with:
47+
submodules: true
48+
- uses: ./.github/actions/paths-filter
4749
id: filter
4850
with:
4951
filters: |

0 commit comments

Comments
 (0)