Skip to content

Commit 9953c16

Browse files
committed
ci: pin benchmark workflow scalafix step to spark-4.0 profile
The default Maven profile recently switched to spark-4.1 / Scala 2.13.17, but semanticdb-scalac_2.13.17 is not yet published, so -Psemanticdb fails to resolve dependencies. pr_build_linux.yml already excludes spark-4.1 from its lint matrix for the same reason; pr_benchmark_check.yml was missed. Pin scalafix to -Pspark-4.0 (Scala 2.13.16) where semanticdb artifacts are available.
1 parent e56d8e5 commit 9953c16

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/pr_benchmark_check.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,9 @@ jobs:
8484
${{ runner.os }}-benchmark-maven-
8585
8686
- name: Check Scala compilation and linting
87+
# Pin to spark-4.0 (Scala 2.13.16) because the default profile is now
88+
# spark-4.1 / Scala 2.13.17, and semanticdb-scalac_2.13.17 is not yet
89+
# published, which breaks `-Psemanticdb`. See pr_build_linux.yml for
90+
# the same exclusion in the main lint matrix.
8791
run: |
88-
./mvnw -B compile test-compile scalafix:scalafix -Dscalafix.mode=CHECK -Psemanticdb -DskipTests
92+
./mvnw -B compile test-compile scalafix:scalafix -Dscalafix.mode=CHECK -Psemanticdb -Pspark-4.0 -DskipTests

0 commit comments

Comments
 (0)