3535jobs :
3636 check-format :
3737 name : " Check if code needs formatting"
38- runs-on : ubuntu-latest
38+ runs-on : ubuntu-22.04
3939 steps :
4040 - name : " Checkout"
4141 uses : actions/checkout@v4
7676 license :
7777 name : " Check License"
7878 needs : check-format
79- runs-on : ubuntu-latest
79+ runs-on : ubuntu-22.04
8080 steps :
8181 - uses : actions/checkout@v4
8282 - name : " Check License"
@@ -102,7 +102,7 @@ jobs:
102102 build-source :
103103 name : " Build Dubbo"
104104 needs : check-format
105- runs-on : ubuntu-latest
105+ runs-on : ubuntu-22.04
106106 outputs :
107107 version : ${{ steps.dubbo-version.outputs.version }}
108108 steps :
@@ -175,7 +175,7 @@ jobs:
175175 unit-test-prepare :
176176 name : " Preparation for Unit Test"
177177 needs : check-format
178- runs-on : ubuntu-latest
178+ runs-on : ubuntu-22.04
179179 strategy :
180180 fail-fast : false
181181 env :
@@ -207,8 +207,8 @@ jobs:
207207
208208 unit-test :
209209 needs : [check-format, unit-test-prepare]
210- name : " Unit Test On ubuntu-latest Java: ${{ matrix.java }}"
211- runs-on : ubuntu-latest
210+ name : " Unit Test On ubuntu-22.04 Java: ${{ matrix.java }}"
211+ runs-on : ubuntu-22.04
212212 strategy :
213213 fail-fast : false
214214 matrix :
@@ -276,7 +276,7 @@ jobs:
276276
277277 samples-test-prepare :
278278 needs : check-format
279- runs-on : ubuntu-latest
279+ runs-on : ubuntu-22.04
280280 env :
281281 JOB_COUNT : 3
282282 steps :
@@ -293,8 +293,8 @@ jobs:
293293 path : test/jobs
294294 samples-test-job :
295295 needs : [check-format, build-source, samples-test-prepare]
296- name : " Samples Test on ubuntu-latest (JobId: ${{matrix.job_id}} Java: ${{matrix.java}})"
297- runs-on : ubuntu-latest
296+ name : " Samples Test on ubuntu-22.04 (JobId: ${{matrix.job_id}} Java: ${{matrix.java}})"
297+ runs-on : ubuntu-22.04
298298 timeout-minutes : 90
299299 env :
300300 JAVA_VER : ${{matrix.java}}
@@ -367,9 +367,9 @@ jobs:
367367 path : test/logs/*
368368 samples-test-result :
369369 needs : [check-format, samples-test-job]
370- name : " Samples Test Result on ubuntu-latest (JobId: ${{matrix.job_id}} Java: ${{matrix.java}})"
370+ name : " Samples Test Result on ubuntu-22.04 (JobId: ${{matrix.job_id}} Java: ${{matrix.java}})"
371371 if : always()
372- runs-on : ubuntu-latest
372+ runs-on : ubuntu-22.04
373373 env :
374374 JAVA_VER : ${{matrix.java}}
375375 strategy :
@@ -391,7 +391,7 @@ jobs:
391391
392392 integration-test-prepare :
393393 needs : check-format
394- runs-on : ubuntu-latest
394+ runs-on : ubuntu-22.04
395395 env :
396396 JOB_COUNT : 3
397397 steps :
@@ -408,8 +408,8 @@ jobs:
408408 path : test/jobs
409409 integration-test-job :
410410 needs : [check-format, build-source, integration-test-prepare]
411- name : " Integration Test on ubuntu-latest (JobId: ${{matrix.job_id}} Java: ${{matrix.java}})"
412- runs-on : ubuntu-latest
411+ name : " Integration Test on ubuntu-22.04 (JobId: ${{matrix.job_id}} Java: ${{matrix.java}})"
412+ runs-on : ubuntu-22.04
413413 timeout-minutes : 90
414414 env :
415415 JAVA_VER : ${{matrix.java}}
@@ -481,10 +481,10 @@ jobs:
481481 name : integration-test-logs-${{matrix.job_id}}-java${{matrix.java}}
482482 path : test/logs/*
483483 integration-test-result :
484- name : " Integration Test Result on ubuntu-latest (JobId: ${{matrix.job_id}} Java: ${{matrix.java}})"
484+ name : " Integration Test Result on ubuntu-22.04 (JobId: ${{matrix.job_id}} Java: ${{matrix.java}})"
485485 needs : [check-format, integration-test-job]
486486 if : always()
487- runs-on : ubuntu-latest
487+ runs-on : ubuntu-22.04
488488 env :
489489 JAVA_VER : ${{matrix.java}}
490490 strategy :
@@ -505,8 +505,8 @@ jobs:
505505 run : ./test/scripts/merge-test-results.sh
506506
507507 samples-jacoco-result-merge :
508- name : " Samples Jacoco Result on ubuntu-latest (JobId: ${{matrix.job_id}} Java: ${{matrix.java}})"
509- runs-on : ubuntu-latest
508+ name : " Samples Jacoco Result on ubuntu-22.04 (JobId: ${{matrix.job_id}} Java: ${{matrix.java}})"
509+ runs-on : ubuntu-22.04
510510 needs : [check-format, samples-test-result]
511511 strategy :
512512 matrix :
@@ -555,8 +555,8 @@ jobs:
555555 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
556556
557557 integration-jacoco-result-merge :
558- name : " Integration Jacoco Result on ubuntu-latest (JobId: ${{matrix.job_id}} Java: ${{matrix.java}})"
559- runs-on : ubuntu-latest
558+ name : " Integration Jacoco Result on ubuntu-22.04 (JobId: ${{matrix.job_id}} Java: ${{matrix.java}})"
559+ runs-on : ubuntu-22.04
560560 needs : [check-format, integration-test-result, samples-test-result]
561561 strategy :
562562 matrix :
@@ -607,7 +607,7 @@ jobs:
607607
608608 error-code-inspecting :
609609 needs : check-format
610- runs-on : ubuntu-latest
610+ runs-on : ubuntu-22.04
611611 steps :
612612 - uses : actions/checkout@v4
613613 with :
@@ -651,7 +651,7 @@ jobs:
651651
652652 native-image-inspecting :
653653 needs : check-format
654- runs-on : ubuntu-latest
654+ runs-on : ubuntu-22.04
655655 steps :
656656 - uses : actions/checkout@v4
657657 with :
@@ -666,7 +666,7 @@ jobs:
666666 native-image-job-reports : ' true'
667667 - name : " Set up Zookeeper environment"
668668 run : |
669- wget -t 1 -T 120 https://dlcdn .apache.org/zookeeper/zookeeper-3.8.4/apache-zookeeper-3.8.4-bin.tar.gz
669+ wget -t 1 -T 120 https://archive .apache.org/dist /zookeeper/zookeeper-3.8.4/apache-zookeeper-3.8.4-bin.tar.gz
670670 tar -zxvf apache-zookeeper-3.8.4-bin.tar.gz
671671 mv apache-zookeeper-3.8.4-bin/conf/zoo_sample.cfg apache-zookeeper-3.8.4-bin/conf/zoo.cfg
672672 apache-zookeeper-3.8.4-bin/bin/zkServer.sh start
0 commit comments