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

raboof pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-persistence-dynamodb.git


The following commit(s) were added to refs/heads/main by this push:
     new bbf560b  change caching in gh workflows (#363)
bbf560b is described below

commit bbf560bc01557da408e436a7395479dec2bf28a0
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Aug 31 13:23:41 2026 +0100

    change caching in gh workflows (#363)
---
 .github/workflows/check-build-test.yml | 16 ++++------------
 .github/workflows/headers.yml          |  5 +----
 .github/workflows/publish-nightly.yml  |  5 +----
 3 files changed, 6 insertions(+), 20 deletions(-)

diff --git a/.github/workflows/check-build-test.yml 
b/.github/workflows/check-build-test.yml
index b9d34b5..6ea7dd3 100644
--- a/.github/workflows/check-build-test.yml
+++ b/.github/workflows/check-build-test.yml
@@ -32,13 +32,11 @@ jobs:
         with:
           distribution: temurin
           java-version: 17
+          cache: sbt
 
       - name: Install sbt
         uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
 
-      - name: Cache Coursier cache
-        uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # 
v8.1.1
-
       - name: Code style check
         run: sbt checkCodeStyle
 
@@ -63,14 +61,11 @@ jobs:
         with:
           distribution: temurin
           java-version: 17
-    
+          cache: sbt
+
       - name: Install sbt
         uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
 
-
-      - name: Cache Coursier cache
-        uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # 
v8.1.1
-
       - name: Compile all code with default compiler
         run: sbt "Test/compile"
 
@@ -103,13 +98,10 @@ jobs:
         with:
           distribution: temurin
           java-version: ${{ matrix.java-version }}
+          cache: sbt
 
       - name: Install sbt
         uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
-          
-
-      - name: Cache Coursier cache
-        uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # 
v8.1.1
 
       - name: Run tests with Scala ${{ matrix.scala-version }} and Java ${{ 
matrix.java-version }}
         run: sbt "++${{ matrix.scala-version }} test" ${{ matrix.sbt-opts }}
diff --git a/.github/workflows/headers.yml b/.github/workflows/headers.yml
index 45bc291..f9b6172 100644
--- a/.github/workflows/headers.yml
+++ b/.github/workflows/headers.yml
@@ -18,13 +18,10 @@ jobs:
         with:
           distribution: temurin
           java-version: 17
+          cache: sbt
 
       - name: Install sbt
         uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
-          
-
-      - name: Cache Coursier cache
-        uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # 
v8.1.1
 
       - name: Check headers
         run: |-
diff --git a/.github/workflows/publish-nightly.yml 
b/.github/workflows/publish-nightly.yml
index acad207..588b8c1 100644
--- a/.github/workflows/publish-nightly.yml
+++ b/.github/workflows/publish-nightly.yml
@@ -42,16 +42,13 @@ jobs:
         with:
           distribution: temurin
           java-version: 17
+          cache: sbt
 
       - name: Install sbt
         uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
 
-
       - name: Publish to Apache Maven repo
         env:
           NEXUS_USER: ${{ secrets.NEXUS_USER }}
           NEXUS_PW: ${{ secrets.NEXUS_PW }}
         run: sbt +publish
-
-      - name: Cache Coursier cache
-        uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # 
v8.1.1


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

Reply via email to