Skip to content

Commit e855bb3

Browse files
authored
docs: Default Scala quickstart to Scala 3, test on both 3 and 2.13 (#4405)
1 parent ccc8607 commit e855bb3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/check-samples.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
5454
- name: Publish artifacts locally
5555
run: |-
56-
sbt "publishLocal; publishM2"
56+
sbt "+publishLocal; publishM2"
5757
5858
- name: Test akka-http-quickstart-java
5959
run: |-
@@ -63,7 +63,8 @@ jobs:
6363
- name: Test akka-http-quickstart-scala
6464
run: |-
6565
cd samples/akka-http-quickstart-scala
66-
sbt test -Dakka-http.version=`cat ~/.version`
66+
sbt "++2.13.14!; test;" -Dakka-http.version=`cat ~/.version`
67+
sbt "clean; test;" -Dakka-http.version=`cat ~/.version`
6768
6869
- name: Email on failure
6970
if: ${{ failure() }}

samples/akka-http-quickstart-scala/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ lazy val root = (project in file(".")).
1313
settings(
1414
inThisBuild(List(
1515
organization := "com.example",
16-
scalaVersion := "2.13.14"
16+
scalaVersion := "3.3.3"
1717
)),
1818
name := "akka-http-quickstart",
1919
libraryDependencies ++= Seq(

0 commit comments

Comments
 (0)