You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by aj...@apache.org on 2026/07/14 16:08:47 UTC

(polaris-tools) branch main updated: CI: Update setup-gradle action version (#252)

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

ajantha-bhat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new aab2953  CI: Update setup-gradle action version (#252)
aab2953 is described below

commit aab2953b36cf1a9e6285865dde75564014f18559
Author: Ajantha Bhat <aj...@gmail.com>
AuthorDate: Tue Jul 14 21:38:41 2026 +0530

    CI: Update setup-gradle action version (#252)
    
    * Update setup-gradle action version
    * Fix benchmark spotless formatting
    * Update synchronizer shadow plugin
---
 .github/workflows/apprunner-ci.yml                                     | 2 +-
 .github/workflows/benchmarks-main.yml                                  | 2 +-
 .github/workflows/iceberg-catalog-migrator-main.yml                    | 2 +-
 .github/workflows/mcp-server.yml                                       | 2 +-
 .github/workflows/polaris-synchronizer-main.yml                        | 2 +-
 .../org/apache/polaris/benchmarks/parameters/BenchmarkConfig.scala     | 3 +--
 polaris-synchronizer/cli/build.gradle.kts                              | 2 +-
 7 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/apprunner-ci.yml b/.github/workflows/apprunner-ci.yml
index 225567d..9bdc7b4 100644
--- a/.github/workflows/apprunner-ci.yml
+++ b/.github/workflows/apprunner-ci.yml
@@ -63,7 +63,7 @@ jobs:
       # Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies.
       # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
       - name: Setup Gradle
-        uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4
+        uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
         with:
           # The setup-gradle action fails, if the wrapper is not using the right version or is not present.
           # Our `gradlew` validates the integrity of the `gradle-wrapper.jar`, so it's safe to disable this.
diff --git a/.github/workflows/benchmarks-main.yml b/.github/workflows/benchmarks-main.yml
index e744d4f..d251673 100644
--- a/.github/workflows/benchmarks-main.yml
+++ b/.github/workflows/benchmarks-main.yml
@@ -52,7 +52,7 @@ jobs:
             ${{ matrix.java-version != '21' && matrix.java-version || '' }}
 
       - name: Setup Gradle
-        uses: gradle/actions/setup-gradle@v4
+        uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
 
       - name: Build & Check
         run: |
diff --git a/.github/workflows/iceberg-catalog-migrator-main.yml b/.github/workflows/iceberg-catalog-migrator-main.yml
index 73c24f3..f798dd6 100644
--- a/.github/workflows/iceberg-catalog-migrator-main.yml
+++ b/.github/workflows/iceberg-catalog-migrator-main.yml
@@ -52,7 +52,7 @@ jobs:
             ${{ matrix.java-version != '21' && matrix.java-version || '' }}
 
       - name: Setup Gradle
-        uses: gradle/actions/setup-gradle@v4
+        uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
 
       - name: Build & Check
         run: |
diff --git a/.github/workflows/mcp-server.yml b/.github/workflows/mcp-server.yml
index fdf80b9..9a8f67c 100644
--- a/.github/workflows/mcp-server.yml
+++ b/.github/workflows/mcp-server.yml
@@ -68,7 +68,7 @@ jobs:
             21
             ${{ matrix.java-version != '21' && matrix.java-version || '' }}
       - name: Setup Gradle
-        uses: gradle/actions/setup-gradle@v4
+        uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
 
       - name: Check
         run: |
diff --git a/.github/workflows/polaris-synchronizer-main.yml b/.github/workflows/polaris-synchronizer-main.yml
index 24bc795..9b8a81e 100644
--- a/.github/workflows/polaris-synchronizer-main.yml
+++ b/.github/workflows/polaris-synchronizer-main.yml
@@ -51,7 +51,7 @@ jobs:
             21
             ${{ matrix.java-version != '21' && matrix.java-version || '' }}
       - name: Setup Gradle
-        uses: gradle/actions/setup-gradle@v4
+        uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
 
       - name: Build & Check
         run: |
diff --git a/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/parameters/BenchmarkConfig.scala b/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/parameters/BenchmarkConfig.scala
index 0c82c81..ec48066 100644
--- a/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/parameters/BenchmarkConfig.scala
+++ b/benchmarks/src/gatling/scala/org/apache/polaris/benchmarks/parameters/BenchmarkConfig.scala
@@ -25,7 +25,7 @@ import scala.jdk.CollectionConverters._
 object BenchmarkConfig {
   val config: BenchmarkConfig = apply()
 
-  private def readHeaders(http: Config): Map[String, String] = {
+  private def readHeaders(http: Config): Map[String, String] =
     if (http.hasPath("headers")) {
       val headersConfig = http.getConfig("headers")
       val result = collection.mutable.Map[String, String]()
@@ -36,7 +36,6 @@ object BenchmarkConfig {
     } else {
       Map.empty[String, String]
     }
-  }
 
   def apply(): BenchmarkConfig = {
     val config: Config = ConfigFactory.load().withFallback(ConfigFactory.load("benchmark-defaults"))
diff --git a/polaris-synchronizer/cli/build.gradle.kts b/polaris-synchronizer/cli/build.gradle.kts
index 34cb4c6..230d27d 100644
--- a/polaris-synchronizer/cli/build.gradle.kts
+++ b/polaris-synchronizer/cli/build.gradle.kts
@@ -23,7 +23,7 @@ plugins {
   `java-library`
   `maven-publish`
   signing
-  id("com.github.johnrengelman.shadow") version "8.1.1"
+  id("com.gradleup.shadow") version "9.3.2"
 }
 
 repositories {