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

rustyrazorblade pushed a commit to branch ghci
in repository https://gitbox.apache.org/repos/asf/cassandra-sidecar.git


The following commit(s) were added to refs/heads/ghci by this push:
     new 2d4b989b dtest build caching and checkstyle fix
2d4b989b is described below

commit 2d4b989b5c2afbc43834596ada936f5bac9a5262
Author: Jon Haddad <[email protected]>
AuthorDate: Tue Nov 11 12:39:19 2025 -0800

    dtest build caching and checkstyle fix
---
 .github/workflows/ci.yml | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5995303a..10f0277a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -62,7 +62,23 @@ jobs:
             sudo ip addr add 127.0.0.$i/8 dev lo
           done
 
+      - name: Cache dtest jars
+        id: cache-dtest-jars
+        uses: actions/cache@v4
+        with:
+          path: dtest-jars/
+          key: dtest-jars-${{ hashFiles('scripts/build-dtest-jars.sh', 
'gradle/wrapper/gradle-wrapper.properties') }}
+
+      - name: Dtest jars cache status
+        run: |
+          if [ "${{ steps.cache-dtest-jars.outputs.cache-hit }}" == "true" ]; 
then
+            echo "✅ Dtest jars restored from cache (saves ~25 minutes)"
+          else
+            echo "⚠️ Cache miss - will build dtest jars (~25 minutes)"
+          fi
+
       - name: Build dtest jars
+        if: steps.cache-dtest-jars.outputs.cache-hit != 'true'
         run: |
           ./scripts/build-dtest-jars.sh
 
@@ -110,7 +126,7 @@ jobs:
 
       - name: Run build with static analysis
         run: |
-          ./gradlew build -x integrationTest -x checkstyle --stacktrace
+          ./gradlew build -x integrationTest -x checkstyleMain -x 
checkstyleTest -x checkstyleTestFixtures --stacktrace
         env:
           CASSANDRA_DEP_DIR: ${{ github.workspace }}/dtest-jars
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to