Skip to content

Commit

Permalink
Use Scala 3.5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
xerial committed Sep 29, 2024
1 parent 3bd1c74 commit f5f7c37
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,26 @@ jobs:
check_name: Test Report Scala 3.x
annotate_only: true
detailed_summary: true
test_3_latest:
name: Scala 3.5.x
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
- name: Scala 3.5.x test
# Test only Scala 3 supported projects
run: SCALA_VERSION=3.5.1 ./sbt "projectDotty/test; dottyTest/run"
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: always() # always run even if the previous step fails
with:
report_paths: '**/target/test-reports/TEST-*.xml'
check_name: Test Report Scala 3.5.x
annotate_only: true
detailed_summary: true
test_3_latest_jdk:
name: Scala 3 / JDK17
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion airspec/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ def excludePomDependency(excludes: Seq[String]) = { node: XmlNode =>
}).transform(node).head
}

/** AirSpec build definitions.
/**
* AirSpec build definitions.
*
* To make AirSpec a standalone library without any cyclic project references, AirSpec embeds the source code of
* airframe-log, di, surface, etc.
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import xerial.sbt.pack.PackPlugin.{projectSettings, publishPackArchiveTgz}

val SCALA_2_12 = "2.12.20"
val SCALA_2_13 = "2.13.15"
val SCALA_3 = "3.3.4"
val SCALA_3 = sys.env.getOrElse("SCALA_VERSION", "3.3.4")
val uptoScala2 = SCALA_2_13 :: SCALA_2_12 :: Nil
val targetScalaVersions = SCALA_3 :: uptoScala2

Expand Down

0 comments on commit f5f7c37

Please sign in to comment.