From 4d9cebc4afc27a8e3fd18f4d0e20df84420696be Mon Sep 17 00:00:00 2001 From: Matthias Kurz Date: Thu, 29 Sep 2022 12:15:12 +0200 Subject: [PATCH] Drop Java 8 --- .github/workflows/build-test.yml | 12 ++++++------ .github/workflows/publish.yml | 2 +- build.sbt | 3 ++- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 063ca91..a921ace 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -15,17 +15,17 @@ concurrency: jobs: # check-code-style: # name: Code Style -# uses: playframework/.github/.github/workflows/cmd.yml@v2 +# uses: playframework/.github/.github/workflows/cmd.yml@v3 # with: # cmd: sbt validateCode check-binary-compatibility: name: Binary Compatibility - uses: playframework/.github/.github/workflows/binary-check.yml@v2 + uses: playframework/.github/.github/workflows/binary-check.yml@v3 check-docs: name: Docs - uses: playframework/.github/.github/workflows/cmd.yml@v2 + uses: playframework/.github/.github/workflows/cmd.yml@v3 with: cmd: sbt doc @@ -35,9 +35,9 @@ jobs: # - "check-code-style" - "check-binary-compatibility" - "check-docs" - uses: playframework/.github/.github/workflows/cmd.yml@v2 + uses: playframework/.github/.github/workflows/cmd.yml@v3 with: - java: 11, 8 + java: 17, 11 scala: 2.12.16, 2.13.8 cmd: | sbt ++$MATRIX_SCALA test @@ -51,4 +51,4 @@ jobs: if: github.event_name == 'pull_request' needs: # Should be last - "tests" - uses: playframework/.github/.github/workflows/rtm.yml@v2 + uses: playframework/.github/.github/workflows/rtm.yml@v3 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9e99930..92e6f54 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,5 +11,5 @@ on: jobs: publish-artifacts: name: Publish / Artifacts - uses: playframework/.github/.github/workflows/publish.yml@v2 + uses: playframework/.github/.github/workflows/publish.yml@v3 secrets: inherit diff --git a/build.sbt b/build.sbt index 1e77b53..dfd0066 100644 --- a/build.sbt +++ b/build.sbt @@ -15,7 +15,8 @@ lazy val commonSettings = Seq( .setPreference(DoubleIndentConstructorArguments, true), scalacOptions ++= Seq( - "-target:jvm-1.8", + "-release", + "11", "-deprecation", "-encoding", "UTF-8", "-feature",