diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0451d54a4..5afe41779 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -96,6 +96,26 @@ jobs: check_name: Test Report Scala 3.x annotate_only: true detailed_summary: true + test_3_latest: + name: Scala 3.4.x + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'zulu' + java-version: '21' + - name: Scala 3.4.x test + # Test only Scala 3 supported projects + run: SCALA_VERSION=3.4.2 ./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.4.x + annotate_only: true + detailed_summary: true test_3_latest_jdk: name: Scala 3 / JDK17 runs-on: ubuntu-latest diff --git a/build.sbt b/build.sbt index a0935b422..8c1e4afdb 100644 --- a/build.sbt +++ b/build.sbt @@ -3,7 +3,7 @@ import xerial.sbt.pack.PackPlugin.{projectSettings, publishPackArchiveTgz} val SCALA_2_12 = "2.12.19" val SCALA_2_13 = "2.13.14" -val SCALA_3 = "3.3.3" +val SCALA_3 = sys.env.getOrElse("SCALA_VERSION", "3.3.3") val uptoScala2 = SCALA_2_13 :: SCALA_2_12 :: Nil val targetScalaVersions = SCALA_3 :: uptoScala2