Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,22 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0

- name: Setup Java 11
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 11

- name: Install sbt
uses: sbt/setup-sbt@17575ea4e18dd928fe5968dbe32294b97923d65b # v1.1.13

- name: Cache Coursier cache
uses: coursier/cache-action@v6
uses: coursier/cache-action@4e2615869d13561d626ed48655e1a39e5b192b3c # v6.4.7

- name: Test pekko-sample-cluster-java
run: cd pekko-sample-cluster-java && sbt multi-jvm:test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
persist-credentials: false

- name: Check project is formatted
uses: jrouly/scalafmt-native-action@v3
uses: jrouly/scalafmt-native-action@14620cde093e5ff6bfbbecd4f638370024287b9d # v4
with:
arguments: '--list --mode diff-ref=origin/main'
2 changes: 1 addition & 1 deletion .github/workflows/publish-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
if: github.repository == 'apache/pekko-samples'
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
if: github.repository == 'apache/pekko-samples'
steps:
- name: Install sbt
uses: sbt/setup-sbt@v1
uses: sbt/setup-sbt@17575ea4e18dd928fe5968dbe32294b97923d65b # v1.1.13
- name: Launch Scala Steward
uses: scala-steward-org/scala-steward-action@v2
env:
Expand Down
2 changes: 1 addition & 1 deletion docs-gen/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-cluster-client-grpc-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<pekko.version>1.1.4</pekko.version>
<pekko.version>1.2.0</pekko.version>
<pekko.grpc.version>1.1.1</pekko.grpc.version>
<scala.binary.version>3</scala.binary.version>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-cluster-client-grpc-scala/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import com.typesafe.sbt.SbtMultiJvm.multiJvmSettings
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm

val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"

lazy val `pekko-sample-cluster-client-grpc-scala` = project
.in(file("."))
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-cluster-docker-compose-java/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ scalacOptions ++= Seq(
"-encoding", "UTF-8",
"-Xlint")

val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"
val logbackVersion = "1.3.15"

/* dependencies */
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-cluster-docker-compose-scala/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ scalacOptions ++= Seq(
"-encoding", "UTF-8",
"-Xlint")

val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"
val logbackVersion = "1.3.15"

/* dependencies */
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-cluster-java/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import com.typesafe.sbt.SbtMultiJvm.multiJvmSettings
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm

val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"
val logbackVersion = "1.3.15"

lazy val `pekko-sample-cluster-java` = project
Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-cluster-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<pekko.version>1.1.4</pekko.version>
<pekko.version>1.2.0</pekko.version>
<scala.binary.version>3</scala.binary.version>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-cluster-java/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-cluster-java/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
addSbtPlugin("com.github.sbt" % "sbt-multi-jvm" % "0.6.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1")
2 changes: 1 addition & 1 deletion pekko-sample-cluster-kubernetes-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<encoding>UTF-8</encoding>
<pekko.version>1.1.4</pekko.version>
<pekko.version>1.2.0</pekko.version>
<pekko-http.version>1.2.0</pekko-http.version>
<pekko-management.version>1.1.1</pekko-management.version>
<scala.binary.version>3</scala.binary.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
import org.apache.pekko.cluster.typed.Subscribe;
import org.apache.pekko.http.javadsl.ConnectHttp;
import org.apache.pekko.http.javadsl.Http;
import static org.apache.pekko.http.javadsl.server.Directives.*;
import org.apache.pekko.management.cluster.bootstrap.ClusterBootstrap;
import org.apache.pekko.management.scaladsl.PekkoManagement;
import org.apache.pekko.stream.Materializer;

import static org.apache.pekko.http.javadsl.server.Directives.*;

public class DemoApp {

static class MemberEventLogger {
Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-cluster-kubernetes-scala/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name := "pekko-sample-cluster-kubernetes-scala"

scalaVersion := "3.3.6"
val pekkoHttpVersion = "1.2.0"
val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"
val pekkoManagementVersion = "1.1.1"
val logbackVersion = "1.3.15"

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-cluster-kubernetes-scala/project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.6")

addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1")
2 changes: 1 addition & 1 deletion pekko-sample-cluster-scala/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import com.typesafe.sbt.SbtMultiJvm.multiJvmSettings
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm

val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"
val logbackVersion = "1.3.15"

lazy val `pekko-sample-cluster-scala` = project
Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-cluster-scala/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-cluster-scala/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
addSbtPlugin("com.github.sbt" % "sbt-multi-jvm" % "0.6.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1")
2 changes: 1 addition & 1 deletion pekko-sample-distributed-data-java/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import com.typesafe.sbt.SbtMultiJvm.multiJvmSettings
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm

val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"
val logbackVersion = "1.3.15"

val `pekko-sample-distributed-data-java` = project
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-distributed-data-scala/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import com.typesafe.sbt.SbtMultiJvm.multiJvmSettings
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm

val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"
val logbackVersion = "1.3.15"

val `pekko-sample-distributed-data-scala` = project
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-distributed-workers-scala/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version := "1.0"

scalaVersion := "3.3.6"

val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"
val cassandraPluginVersion = "1.1.0"
val logbackVersion = "1.3.15"

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-fsm-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<pekko.version>1.1.4</pekko.version>
<pekko.version>1.2.0</pekko.version>
<scala.binary.version>3</scala.binary.version>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-fsm-scala/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
organization := "org.apache.pekko"
name := "pekko-sample-fsm-scala"

val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"
val logbackVersion = "1.3.15"

scalaVersion := "3.3.6"
Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-fsm-scala/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-fsm-scala/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1")
2 changes: 1 addition & 1 deletion pekko-sample-grpc-kubernetes-scala/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name := "pekko-grpc-kubernetes"
scalaVersion := "3.3.6"

lazy val pekkoVersion = "1.1.4"
lazy val pekkoVersion = "1.2.0"
lazy val pekkoManagementVersion = "1.1.1"
lazy val pekkoHttpVersion = "1.2.0"

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-kafka-to-sharding-scala/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"
val pekkoHttpVersion = "1.2.0"

val pekkoConnectorsKafkaVersion = "1.1.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-persistence-dc-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<pekko.version>1.1.4</pekko.version>
<pekko.version>1.2.0</pekko.version>
<pekko-persistence-cassandra.version>1.1.0</pekko-persistence-cassandra.version>
<pekko-http.version>1.2.0</pekko-http.version>
<pekko-management.version>1.1.1</pekko-management.version>
Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-persistence-dc-scala/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name := "pekko-sample-replicated-event-sourcing-scala"

scalaVersion := "3.3.6"

val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"
val cassandraPluginVersion = "1.1.0"

val pekkoHttpVersion = "1.2.0"
Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-persistence-dc-scala/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-persistence-dc-scala/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1")
2 changes: 1 addition & 1 deletion pekko-sample-persistence-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<pekko.version>1.1.4</pekko.version>
<pekko.version>1.2.0</pekko.version>
<scala.binary.version>3</scala.binary.version>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-persistence-scala/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name := "pekko-sample-persistence-scala"

scalaVersion := "3.3.6"

val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"
val logbackVersion = "1.3.15"

libraryDependencies ++= Seq(
Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-persistence-scala/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-persistence-scala/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1")
2 changes: 1 addition & 1 deletion pekko-sample-sharding-java/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"
val pekkoHttpVersion = "1.2.0"
val logbackVersion = "1.3.15"

Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-sharding-java/killrweather-fog/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<pekko.version>1.1.4</pekko.version>
<pekko.version>1.2.0</pekko.version>
<pekko-http.version>1.2.0</pekko-http.version>
<scala.binary.version>3</scala.binary.version>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-sharding-java/killrweather/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<pekko.version>1.1.4</pekko.version>
<pekko.version>1.2.0</pekko.version>
<pekko-http.version>1.2.0</pekko-http.version>
<scala.binary.version>3</scala.binary.version>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-sharding-java/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6
2 changes: 1 addition & 1 deletion pekko-sample-sharding-java/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.0")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1")
2 changes: 1 addition & 1 deletion pekko-sample-sharding-scala/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val pekkoVersion = "1.1.4"
val pekkoVersion = "1.2.0"
val pekkoHttpVersion = "1.2.0"
val logbackVersion = "1.3.15"

Expand Down
2 changes: 1 addition & 1 deletion pekko-sample-sharding-scala/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.11.2
sbt.version=1.11.6