This is an automated email from the ASF dual-hosted git repository.

zhonghongsheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new f0c58a81334 workflow: add setup-build-environment action with caching 
for required checks (#38241)
f0c58a81334 is described below

commit f0c58a8133408c203e7e99b38584a4154500cba7
Author: Hongsheng Zhong <[email protected]>
AuthorDate: Fri Feb 27 18:43:21 2026 +0800

    workflow: add setup-build-environment action with caching for required 
checks (#38241)
---
 .github/workflows/required-check.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/.github/workflows/required-check.yml 
b/.github/workflows/required-check.yml
index bacdb056237..59d68f68abb 100644
--- a/.github/workflows/required-check.yml
+++ b/.github/workflows/required-check.yml
@@ -39,6 +39,10 @@ jobs:
     timeout-minutes: 10
     steps:
       - uses: actions/[email protected]
+      - uses: ./.github/workflows/resources/actions/setup-build-environment
+        with:
+          cache-prefix: ${{ 
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
+          cache-suffix: 'required-check'
       - name: Run CheckStyle
         run: ./mvnw checkstyle:check -Pcheck -T1C
 
@@ -50,6 +54,10 @@ jobs:
     timeout-minutes: 10
     steps:
       - uses: actions/[email protected]
+      - uses: ./.github/workflows/resources/actions/setup-build-environment
+        with:
+          cache-prefix: ${{ 
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
+          cache-suffix: 'required-check'
       - name: Run Spotless
         run: ./mvnw spotless:check -Pcheck -T1C
 
@@ -61,5 +69,9 @@ jobs:
     timeout-minutes: 10
     steps:
       - uses: actions/[email protected]
+      - uses: ./.github/workflows/resources/actions/setup-build-environment
+        with:
+          cache-prefix: ${{ 
needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}
+          cache-suffix: 'required-check'
       - name: Run Apache Rat
         run: ./mvnw apache-rat:check -Pcheck -T1C

Reply via email to